Skip to content

chromadb hardcoded path doesn't work in rag_chat in in kaggle kernal environment #444

@Owaiskhan9654

Description

@Owaiskhan9654

db_path: str = "/tmp/chromadb.db",

image

Can we somehow set this path for chromadb dynamically. Tried using changing the path in client path in below code in retrieve_config but that doesn't seems to be reflecting.

retrieve_config={ "task": "code", "docs_path": "Somelink", "chunk_token_size": 1000, "model": config_list[0]["model"], "client": chromadb.PersistentClient(path="/tmp/chromadb"), "collection_name": "groupchat", "get_or_create": True, },

@sonichi @qingyun-wu @thinkall

Also this commit doesn't seems to work which was merged 2 days back

Fix tmp dir not exists #401

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions