To Knowledge Config • AI Agent SDK

to_knowledge_config: Convert to Knowledge-compatible config.

to_knowledge_config

Method

</div>

This is a method of the RetrievalConfig class in the retrieval_config module.

Convert to Knowledge-compatible config.

Signature

python
def to_knowledge_config() -> Dict[str, Any]

Returns

ResponseField Dict[str, Any]

The result of the operation.

Source

View on GitHub

praisonaiagents/rag/retrieval_config.py at line 267


Related Documentation