Skip to content

Creating a new ChromaDB client on every call is inefficient #3

@g-eoj

Description

@g-eoj

Creating a new ChromaDB client on every call is inefficient. Consider creating a singleton client instance or caching it at module level.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Originally posted by @greptile-apps[bot] in #1 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions