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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to make where clause optional in queries #1334

Open
BakedJesus opened this issue Mar 31, 2024 · 0 comments
Open

Request to make where clause optional in queries #1334

BakedJesus opened this issue Mar 31, 2024 · 0 comments

Comments

@BakedJesus
Copy link

馃殌 The feature

Currently, if no where clause is provided then it's set to filter using app_id (this is implemented in embedchain.py at _retrieve_from_database). This can get annoying when I am using external libraries for storing the data in chroma. Currently, my workaround is to set where = [{"index" > 0 }] which grabs all the entries from chroma.

Motivation, pitch

Current workaround is computationally wasteful. Please allow no where clause for app._retrieve_from_database

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

1 participant