Readonly
clientCreate a chat completion, either streaming or non-streaming.
ChatCompletionCreateRequest including the required fields of messages and model. Defaults to non-streaming.
Optional
endpoint: stringused to direct request to a different endpoint. Defaults
to https://text.octoai.run/v1/chat/completions
if no endpoint is provided
or uses the SecureLink API if set on client instantiation.
Create a chat completion, either streaming or non-streaming.
ChatCompletionCreateRequest including the required fields of messages and model. Defaults to non-streaming.
Optional
endpoint: stringused to direct request to a different endpoint. Defaults
to https://text.octoai.run/v1/chat/completions
if no endpoint is provided
or uses the SecureLink API if set on client instantiation.
Create a chat completion, either streaming or non-streaming.
Generated using TypeDoc
Chat completions API.
Param: client
Uses the Client class to manage requests.