Add Abbreviation • AI Agent SDK

add_abbreviation: Add a custom abbreviation expansion.

add_abbreviation

Method

</div>

This is a method of the QueryRewriterAgent class in the query_rewriter_agent module.

Add a custom abbreviation expansion.

Signature

python
def add_abbreviation(abbrev: str, expansion: str) -> None

Parameters

ParamField str

No description available.

ParamField str

No description available.

Source

View on GitHub

praisonaiagents/agent/query_rewriter_agent.py at line 621