Skip to main content

projectChatCompletion()

projectChatCompletion(projectId: string, request: ProjectChatCompletionRequest): Promise<ProjectChatCompletionResponse>

Defined in: packages/core/src/index.ts:2218

Send a chat completion request in a project context

Parameters

ParameterTypeDescription
projectIdstringThe unique identifier of the project
requestProjectChatCompletionRequestChat completion request

Returns

Promise<ProjectChatCompletionResponse>

Chat completion response

Throws

401 - Not authenticated

Throws

404 - Project not found

Deprecated

This endpoint is deprecated. Please use the Chat module instead.