Search Short Term • AI Agent SDK
search_short_term: Search ChromaDB.
search_short_term
Method
</div>
This is a method of the ChromaMemoryAdapter class in the factories module.
Search ChromaDB.
Signature
def search_short_term(query: str, limit: int) -> List[Dict[str, Any]]Parameters
ParamField
strNo description available.
ParamField
intNo description available.
Returns
ResponseField
List[Dict[str, Any]]The result of the operation.
Uses
search_long_term
Used By
AgentTeam.restore_session_stateMemory.search_short_termMemory.delete_memories_matchingMemory.build_context_for_task
Source
View on GitHubpraisonaiagents/memory/adapters/factories.py at line 304