Skip to content
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

Endpoint POST /memory/recall with metadata #899

Open
pieroit opened this issue Aug 26, 2024 · 1 comment
Open

Endpoint POST /memory/recall with metadata #899

pieroit opened this issue Aug 26, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation endpoints Related to http / ws endpoints enhancement New feature or request memory

Comments

@pieroit
Copy link
Member

pieroit commented Aug 26, 2024

Endpoint GET /memory/recall should remain and log a warning that is going to be deprecated in v2.

The new POST /memory/recall should accept a json with this format:

{
    "text": "...",
    "k": 34,
    "metadata": {}
}

metadata for the moment (as in other endpoints) is a simple flat dictionary to search in AND

In the future we may allow another field vector_db_filter to be sent directly to Qdrant, with Qdrant filter syntax

@pieroit pieroit added enhancement New feature or request endpoints Related to http / ws endpoints memory labels Aug 26, 2024
@valentimarco
Copy link
Collaborator

Same as #898, closing the old one to favor this

@valentimarco valentimarco added the documentation Improvements or additions to documentation label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation endpoints Related to http / ws endpoints enhancement New feature or request memory
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants
@pieroit @valentimarco and others