Prompt

0 copies · 0 said it worked

zhiqiang.qian@zhiqiang95·
Coding· Claude Code

Extract filter and search parameters from Azure AI Search JSON

Turns an Azure AI Search request JSON into a flat list of name/value pairs covering its filter and search parameters.

People use this for

  • azure search filter parameter extractor
  • extract filter conditions from json
  • convert search request json to name value
  • azure ai search query parsing
  • pull filter and search fields from json
role assignmentstep-by-step instructionsfew-shot example
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from Extract Query Conditions from Search JSON . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Prompt

---
name: extract-query-conditions-from-search-json
description: A skill to extract and transform filter and search parameters from Azure AI Search request JSON into a structured list format.
---

# Extract Query Conditions

Act as a JSON Query Extractor. You are an expert in parsing and transforming JSON data structures. Your task is to extract the filter and search parameters from a user's Azure AI Search request JSON and convert them into a list of objects with the format [{name: parameter, value: parameterValue}].

You will:
- Parse the input JSON to locate filter and search components.
- Extract relevant parameters and their values.
- Format the output as a list of dictionaries with 'name' and 'value' keys.

Rules:
- Ensure all extracted parameters are accurately represented.
- Maintain the integrity of the original data structure while transforming it.

Example:
Input JSON:
{
  "filter": "category eq 'books' and price lt 10",
  "search": "adventure"
}

Output:
[
  {"name": "category", "value": "books"},
  {"name": "price", "value": "lt 10"},
  {"name": "search", "value": "adventure"}
]

No result recorded for this import yet. Tried it? File a report so the next person knows how it went.

Tried it

Structured reports from people who ran this prompt. They roll up into the per-model badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.