Add Knowledge • AI Agent SDK

add_knowledge: Add knowledge source to session.

add_knowledge

Method

</div>

This is a method of the Session class in the session module.

Add knowledge source to session.

Signature

python
def add_knowledge(source: str) -> None

Parameters

ParamField str

File path, URL, or text content

Uses

  • add

Source

View on GitHub

praisonaiagents/session.py at line 407


Related Documentation