Provides API endpoint related to chat
Summary
Functions
Create a chat response
Functions
@spec create(body :: Gleanex.Platform.ChatCreateRequest.t(), opts :: keyword()) :: {:ok, Gleanex.Platform.ChatCompletedResponse.t() | String.t()} | {:error, Gleanex.Error.t()}
Create a chat response
Run an assistant turn. Set stream to true to receive server-sent events; otherwise the response is a typed JSON response object.
Request Body
Content Types: application/json