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

ChromaDB #5

Open
UB-AICLUB opened this issue Sep 14, 2024 · 1 comment
Open

ChromaDB #5

UB-AICLUB opened this issue Sep 14, 2024 · 1 comment
Assignees

Comments

@UB-AICLUB
Copy link
Owner

UB-AICLUB commented Sep 14, 2024

handle all chromadb operations

There should be a file in task_queue folder called db.py

3 functions in total

get_connection() return a connection object to our chromadb instance hard code connection parameters will set them to correct values later

write(embedding, text, metadata) - will write the embeddings, text and metadata to chromadb add any parameters required but mention in the comment

retrieve(embedding, filter=None) - retrieve to n closest embeddings, along with their metadata mention the format in the comments

@aayushsss1
Copy link

Hey @UB-AICLUB I can take this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants