-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Abstract Vector Memory and simple api from plugins #818
Comments
Not strictly necessary to be honest, we fly well with Qdrant. Abstracting is a good idea to encapsulate it and avoid breaking changes coming from them
Nice! |
(03/06 dev meating) in the straycat: def recall(query: str | Embedding, metadata: dict = none, search_declerative: bool = true, search_procedural: bool = true, search_episodic: bool = true, override_working_memory: bool = true): Set[Document] Method to search in memory and must have:
|
Maybe it can be useful to return also the scores and the embeddings of the recalled points. class Memory
text: str
embedding: List[float]
metadata: dict
score: float (?)
def to_document(self): -> Document also, other params for the |
I like the |
Awesome, agree with @nicola-corbellini on having a custom class to throw memories/points/documents around. About the method, to reelaborate on @valentimarco 's proposal def recall(
self,
query: str | Embedding,
metadata: dict = None,
collection: str | None = None, # searches all by default
override_working_memory: bool = False
) -> List[Tuple[float, Document]]: |
Hi guys, can I help you on this task? |
Hi @nickprock thanks |
Thanks @pieroit but I think I was too far behind on the project, I couldn't get anything right |
Available anytime for a code tour! |
PR in review, merging soon |
The text was updated successfully, but these errors were encountered: