API Reference
Integrate with an AI model
Integrates with an AI model (e.g., GPT-4) to generate responses and select tools in Sol.
POST
/
ai
/
integrate
Body
application/json
model
string
AI model to use (e.g., gpt-4)
messages
object[]
List of messages for the AI model
tools
string[]
Available tools for the AI to select from
tool_choice
string
How the AI should choose tools (e.g., auto)
Response
200 - application/json
responseId
string
tool_calls
object[]
status
string