Query Experience

Query an Experience given the Experience's ID or Custom ID.

You can pass a query to perform a semantic search on the Experience's Variants. The search process has the following steps:

  1. Optionally rephrase the query (using the rephrase prompt).
  2. Perform semantic search
  3. Optionally rerank results (using the rerank guidance prompt).
  4. Generate a confidence message for the top result (using the confidence prompt).

Additional request fields:

  • Use count to specify the number of results returned.
  • Provide filters (object) to pre-filter variants before semantic search. All filter properties are combined with logical AND. Note: Because the search process relies on AI (LLMs), results may vary even when using the same query.

Learn more about the filter syntax: Catalog 2.0 AI Discovery

Language
Click Try It! to start a request and see the response here!