teachability
autogen.agentchat.contrib.capabilities.teachability.MemoStore
MemoStore
Provides memory storage and retrieval for a teachable agent, using a vector database.
Each DB entry (called a memo) is a pair of strings: an input text and an output text.
The input text might be a question, or a task to perform.
The output text might be an answer to the question, or advice on how to perform the task.
Vector embeddings are currently supplied by Chroma’s default Sentence Transformers.
Name | Description |
---|---|
**kwargs |
Instance Methods
add_input_output_pair
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
get_nearest_memo
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
get_related_memos
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
list_memos
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
prepopulate
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
reset_db
Call self as a function.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |