You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all 👋🏻
Really loving Prism so far!
I'm trying to implement XAI Live Search, but I’m struggling to figure out how to include
search_parametersin the request body.I need to essentially build this request:
Initially, I assumed provider options were just forwarded to the request body, so I tried this:
After a bit of source diving, it looks like provider options aren’t just passed through — they’re used differently for each provider (e.g. https://github.com/prism-php/prism/blob/main/src/Providers/XAI/Concerns/ExtractsThinking.php#L16).
So yeah — is there any way to hook into or modify the outgoing request to add custom parameters like this?
Beta Was this translation helpful? Give feedback.
All reactions