Use Exa’s /chat/completions endpoint as a drop-in replacement for your OpenAI chat completions code.
Exa will parse through your messages and send only the last message to /answer
or /research
.
To use Exa’s /answer
endpoint via the chat completions interface:
https://api.exa.ai
exa
.See the full /answer
endpoint reference here.
To use Exa’s research models via the chat completions interface:
https://api.exa.ai
exa-research
or exa-research-pro
See the full /research
endpoint reference here.
Use Exa’s /chat/completions endpoint as a drop-in replacement for your OpenAI chat completions code.
Exa will parse through your messages and send only the last message to /answer
or /research
.
To use Exa’s /answer
endpoint via the chat completions interface:
https://api.exa.ai
exa
.See the full /answer
endpoint reference here.
To use Exa’s research models via the chat completions interface:
https://api.exa.ai
exa-research
or exa-research-pro
See the full /research
endpoint reference here.