Legacy endpoint for chat interactions with the GPT model
:online - Standard web search ($0.006 per request):online/linkup-deep - Deep web search ($0.06 per request)/v1/chat/completions endpoint insteadParameters for talking to GPT
The model to use for generation. Append ':online' for web search ($0.005/request) or ':online/linkup-deep' for deep web search ($0.05/request)
"chatgpt-4o-latest"
"chatgpt-4o-latest:online"
"claude-3-5-sonnet-20241022:online/linkup-deep"
The text prompt to send to GPT (optional)
"Please explain the concept of artificial intelligence."
Array of previous message objects for context (optional)
Talk to GPT response
Text response followed by metadata in