MemoStore

MemoStore(**kwargs)

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.

Parameters:
NameDescription
**kwargs

Class Attributes

add_input_output_pair



get_nearest_memo





list_memos



prepopulate



reset_db