Scrypted Documentation / ChatCompletion
Interface: ChatCompletion
Methods
getChatCompletion()
getChatCompletion(
body):Promise<ChatCompletionResponse>
Parameters
• body: ChatCompletionCreateParamsNonStreaming
Returns
Promise<ChatCompletionResponse>
streamChatCompletion()
streamChatCompletion(
params):Promise<AsyncGenerator<ChatCompletionResponse|ChatCompletionChunk,any,any>>
Parameters
• params: ChatCompletionStreamParams
Returns
Promise<AsyncGenerator<ChatCompletionResponse | ChatCompletionChunk, any, any>>
