#exa search seems to not be engaging

8 messages · Page 1 of 1 (latest)

upper glade
#

the search results are terrible as the links I am getting seem to be hallucinated 😕
I don't see Exa mentioned in the billing usage so probably it's not getting called?
I figure I should also be seeing the actual injected search results data in the API response?

Not sure what I'm doing wrong... advice please?

This is my request format:
{
"messages":[...],
"model":"google/gemini-2.0-flash-001:online",
"response_format":{"type":"json_schema","json_schema":{"name":"brand_suggestor_response","strict":true,"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}},
"plugins": [
{"id":"web","max_results":10}
]
}

orchid moon
#

hi the plugins field needs to be on the same level as the model field. Example:

{
  "model": "openai/gpt-4o:online",
  "plugins": [
    {
      "id": "web",
      "max_results": 1, // Defaults to 5
      "search_prompt": "Some relevant web results:" // See default below
    }
  ]
}
upper glade
#

thanks. Isn’t my request it on the same level but just in a different order?

orchid moon
#

Ahh sorry was getting confused by the response_format. Can you share a generation id where you made this request

upper glade
#

gen-1739397030-M0SnJYLriJTh1YDnHkOh

orchid moon
#

Hi why do you think that web requests arent working? I can see that web search did indeed run and return some web results.

upper glade
#

thanks for checking. it seemed like it was hallucinating to me, because a lot of the links when I clicked they were going to 404s. how can I see what the actual prompt injection from exa was?

orchid moon
#

This is currently not returned back to the user. It's in our backlog, hopefully we can get it in next week.