testLlmEndpoint()
Home > @gooddata/sdk-backend-spi > IOrganizationLlmEndpointsService > testLlmEndpoint
IOrganizationLlmEndpointsService.testLlmEndpoint() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Test existing llm endpoint
Signature:
testLlmEndpoint(endpoint: Partial<LlmEndpointOpenAIPatch>, token?: string): Promise<LlmEndpointTestResults>;
Parameters
Parameter | Type | Description |
---|---|---|
endpoint | Partial<LlmEndpointOpenAIPatch> | definition of the llm endpoint |
token | string | (Optional) token for the llm endpoint, if applicable |
Returns:
Promise<LlmEndpointTestResults>
Promise resolved with test results.