MCPcopy Create free account
hub / github.com/DVampire/FinAgent / add_embeddings

Method add_embeddings

finagent/memory/base.py:18–29  ·  view source on GitHub ↗

Add embeddings to the vectorstore. Args: keys: list of metadatas associated with the embedding. embeddings: Iterable of embeddings to add to the vectorstore. kwargs: vectorstore specific parameters

(
        self,
        *args: Any,
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

16
17 @abc.abstractmethod
18 def add_embeddings(
19 self,
20 *args: Any,
21 **kwargs: Any,
22 ) -> None:
23 """Add embeddings to the vectorstore.
24
25 Args:
26 keys: list of metadatas associated with the embedding.
27 embeddings: Iterable of embeddings to add to the vectorstore.
28 kwargs: vectorstore specific parameters
29 """
30
31 @abc.abstractmethod
32 def delete(self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected