Skip to content

ChromaDB #5

@UB-AICLUB

Description

@UB-AICLUB

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions