createLlmEndpoint()
Home > @gooddata/sdk-backend-spi > IOrganizationLlmEndpointsService > createLlmEndpoint
IOrganizationLlmEndpointsService.createLlmEndpoint() 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.
Create a new llm endpoint
Signature:
createLlmEndpoint(endpoint: ILlmEndpointOpenAI, token?: string): Promise<ILlmEndpointOpenAI>;
Parameters
Parameter | Type | Description |
---|---|---|
endpoint | ILlmEndpointOpenAI | definition of the llm endpoint |
token | string | (Optional) token for the llm endpoint, if applicable |
Returns:
Promise<ILlmEndpointOpenAI>
Promise resolved with created llm endpoint.