reformulate_query
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-11.)
reformulate_query has 23 facts recorded in Dontopedia across 3 references, with 4 live disagreements.
Mostly:has default parameter value(3), returns(2), takes parameter(2)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (6)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
calledOnCalled on(1)
- Generation Step
ex:generation-step
callsCalls(1)
- Process Query
ex:process_query
containsFunctionContains Function(1)
- Code Block
ex:code-block
enclosesEncloses(1)
- Code Block
ex:code-block
followsFollows(1)
- Integration Section
ex:integration-section
illustratesIllustrates(1)
- Python Logging Script
ex:python-logging-script
Other facts (22)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Has Default Parameter Value | context=None | [2] |
| Has Default Parameter Value | model=None | [2] |
| Has Default Parameter Value | tokenizer=None | [2] |
| Returns | Reformulated Query | [1] |
| Returns | reformulated_query | [2] |
| Takes Parameter | context | [2] |
| Takes Parameter | query | [2] |
| Rdf:type | Function | [2] |
| Rdf:type | Programming Concept | [3] |
| Has Parameter | Query | [1] |
| Has Conditional Logic | Context Check | [1] |
| Constructs Prompt | Prompt | [1] |
| Adds Examples | Examples | [1] |
| Tokenizes | Tokenizer | [1] |
| Uses Model | Model | [1] |
| Decodes | Tokenizer | [1] |
| Return Type | Reformulated Query | [1] |
| Has Purpose | reformulate a query to better capture its intent | [2] |
| Uses Conditional Logic | Context Check | [2] |
| Is Part of | Rag System Class | [2] |
| Has Return Statement | reformulated_query | [2] |
| Is Demonstrated in | Python Logging Script | [3] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (3)
ctx:claims/beam/50eac377-aaaf-4822-a440-3716011a2137- full textbeam-chunktext/plain1 KB
doc:beam/50eac377-aaaf-4822-a440-3716011a2137Show excerpt
prompt = f"Reformulate the query '{query}' considering the context: {context}. " else: prompt = f"Reformulate the query '{query}'. " # Add examples if needed examples = "Examples: 'What is the capital of France?…
ctx:claims/beam/0edc0f7c-f522-479a-8586-66d20ba52bef- full textbeam-chunktext/plain1 KB
doc:beam/0edc0f7c-f522-479a-8586-66d20ba52befShow excerpt
prompt = f"Given the context: {context}, reformulate the query '{query}' to better capture its intent." else: prompt = f"Reformulate the query '{query}' to better capture its intent." # Optionally, add examples to g…
ctx:claims/beam/35b9d083-d2a6-491a-9ef3-47075d54d858
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.