MCPcopy Create free account

hub / github.com/caspianmoon/memoripy / functions

Functions73 in github.com/caspianmoon/memoripy

↓ 25 callersMethodget
(self, key, default)
memoripy/dynamo_storage.py:97
↓ 7 callersMethodadd_interaction
(self, prompt: str, output: str, embedding: np.ndarray, concepts: list[str])
memoripy/memory_manager.py:56
↓ 7 callersMethodextract_concepts
(self, text: str)
memoripy/memory_manager.py:80
↓ 7 callersMethodget_embedding
(self, text: str)
memoripy/memory_manager.py:72
↓ 7 callersMethodinvoke
(self, messages: list)
memoripy/implemented_models.py:73
↓ 7 callersMethodload_history
(self)
memoripy/memory_manager.py:50
↓ 6 callersMethodgenerate_response
(self, prompt: str, last_interactions: list, retrievals: list, context_window=3)
memoripy/memory_manager.py:100
↓ 6 callersMethodretrieve_relevant_interactions
(self, query: str, similarity_threshold=40, exclude_last_n=0)
memoripy/memory_manager.py:95
↓ 2 callersMethodnew_from_attr
(cls, attr: LongTermTermMemoryAttr)
memoripy/dynamo_storage.py:107
↓ 2 callersMethodstandardize_embedding
Standardize embedding to the target dimension by padding with zeros or truncating.
memoripy/memory_manager.py:36
↓ 1 callersMethod__init__
(self, api_key, model_name="gpt-3.5-turbo")
memoripy/implemented_models.py:58
↓ 1 callersFunction_get_host
()
memoripy/dynamo_storage.py:18
↓ 1 callersFunction_get_read_capacity
()
memoripy/dynamo_storage.py:26
↓ 1 callersFunction_get_region
()
memoripy/dynamo_storage.py:22
↓ 1 callersFunction_get_write_capacity
()
memoripy/dynamo_storage.py:30
↓ 1 callersMethodclassify_memory
(self)
memoripy/memory_store.py:70
↓ 1 callersMethodcluster_interactions
(self)
memoripy/memory_store.py:183
↓ 1 callersMethodinitialize_embedding_dimension
(self)
memoripy/implemented_models.py:45
↓ 1 callersMethodinitialize_embedding_dimension
Determine the dimension of the embeddings.
memoripy/model.py:14
↓ 1 callersMethodinitialize_memory
(self)
memoripy/memory_manager.py:84
↓ 1 callersMethodinvoke
Generate a response from the chat model given a list of messages.
memoripy/model.py:23
↓ 1 callersFunctionmain
()
memoripy/main.py:6
↓ 1 callersFunctionmain
()
examples/openai_example.py:6
↓ 1 callersFunctionmain
()
examples/openrouter.py:6
↓ 1 callersFunctionmain
()
examples/azure_example.py:4
↓ 1 callersFunctionmain
()
examples/chatcompletions.py:6
↓ 1 callersFunctionmain
()
examples/dynamo/dynamo_example.py:6
↓ 1 callersMethodretrieve
(self, query_embedding, query_concepts, similarity_threshold=40, exclude_last_n=0)
memoripy/memory_store.py:77
↓ 1 callersMethodretrieve_from_semantic_memory
(self, query_embedding_norm)
memoripy/memory_store.py:200
↓ 1 callersMethodsave_memory_to_history
(self)
memoripy/memory_manager.py:53
↓ 1 callersMethodspreading_activation
(self, query_concepts)
memoripy/memory_store.py:158
↓ 1 callersMethodupdate_graph
(self, concepts)
memoripy/memory_store.py:57
Method__getitem__
(self, item)
memoripy/dynamo_storage.py:58
Method__getitem__
(self, item)
memoripy/dynamo_storage.py:100
Method__init__
(self, dimension=1536)
memoripy/memory_store.py:13
Method__init__
(self)
memoripy/in_memory_storage.py:6
Method__init__
(self, chat_model: ChatModel, embedding_model: EmbeddingModel, storage=None)
memoripy/memory_manager.py:21
Method__init__
(self, file_path="interaction_history.json")
memoripy/json_storage.py:9
Method__init__
(self, api_key, model_name="text-embedding-3-small")
memoripy/implemented_models.py:13
Method__init__
(self, model_name="mxbai-embed-large")
memoripy/implemented_models.py:34
Method__init__
(self, model_name="llama3.1:8b")
memoripy/implemented_models.py:86
Method__init__
(self, api_key, api_version, azure_endpoint, model_name="text-embedding-3-small")
memoripy/implemented_models.py:112
Method__init__
(self, api_key, api_version, azure_endpoint, model_name="gpt-3.5-turbo")
memoripy/implemented_models.py:135
Method__init__
(self, api_endpoint: str, api_key: str, model_name: str)
memoripy/implemented_models.py:165
Method__init__
(self, api_key: str, model_name: str)
memoripy/implemented_models.py:193
Method__init__
Create an instance of DynamoStorage Args: set_id: A unique identifier for the memory set - This should be lev
memoripy/dynamo_storage.py:133
Method__setitem__
(self, key, value)
memoripy/dynamo_storage.py:61
Method__setitem__
(self, key, value)
memoripy/dynamo_storage.py:103
Methodadd_interaction
(self, interaction)
memoripy/memory_store.py:26
Methodextract_concepts
(self, text: str)
memoripy/implemented_models.py:77
Methodextract_concepts
(self, text: str)
memoripy/implemented_models.py:104
Methodextract_concepts
(self, text: str)
memoripy/implemented_models.py:157
Methodextract_concepts
(self, text: str)
memoripy/implemented_models.py:185
Methodextract_concepts
Extract key concepts from the provided text.
memoripy/model.py:30
Methodget
(self, key, default)
memoripy/dynamo_storage.py:55
Methodget_embedding
(self, text: str)
memoripy/implemented_models.py:23
Methodget_embedding
(self, text: str)
memoripy/implemented_models.py:38
Methodget_embedding
(self, text: str)
memoripy/implemented_models.py:125
Methodget_embedding
Generate an embedding for the given text.
memoripy/model.py:7
Methodinitialize_embedding_dimension
(self)
memoripy/implemented_models.py:29
Methodinitialize_embedding_dimension
(self)
memoripy/implemented_models.py:131
Methodinvoke
(self, messages: list)
memoripy/implemented_models.py:100
Methodinvoke
(self, messages: list)
memoripy/implemented_models.py:153
Methodinvoke
(self, messages: list)
memoripy/implemented_models.py:181
Methodload_history
(self)
memoripy/in_memory_storage.py:12
Methodload_history
(self)
memoripy/storage.py:4
Methodload_history
(self)
memoripy/json_storage.py:12
Methodload_history
(self)
memoripy/dynamo_storage.py:153
Methodnew_from_attr
(cls, attr: ShortTermMemoryAttr)
memoripy/dynamo_storage.py:65
Methodsave_memory_to_history
(self, memory_store)
memoripy/in_memory_storage.py:16
Methodsave_memory_to_history
(self, memory_store)
memoripy/storage.py:7
Methodsave_memory_to_history
(self, memory_store)
memoripy/json_storage.py:21
Methodsave_memory_to_history
(self, memory_store: MemoryStore)
memoripy/dynamo_storage.py:166