🔮AI
Note: Currently, only OpenAI is supported as the AI provider. In the future, we may support other providers.
Common Request Body
Every request must include an openAIConfiguration
object in the body:
Where:
apiKey
: Your OpenAI API key.model
: The OpenAI model to use (e.g.,gpt-4
).
Response Format
All requests return a standard response structure:
status
: The request status (see theResponseStatus
enum).response
: The output generated by OpenAI.openAiError
(optional): Any OpenAI-specific error (see theAIError
enum).
Last updated