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

Allow DCDocumentStore to read labels #1985

Closed
tstadel opened this issue Jan 10, 2022 · 0 comments · Fixed by #2345
Closed

Allow DCDocumentStore to read labels #1985

tstadel opened this issue Jan 10, 2022 · 0 comments · Fixed by #2345
Assignees
Labels

Comments

@tstadel
Copy link
Member

tstadel commented Jan 10, 2022

In order to communicate with DocumentStores in DC we need a readonly DocumentStore implementation that is compatible with all retrievers incl. ElasticsearchRetriever.

Here we want to make it support getting all labels.

The following methods need to be implemented:

method API Call
get_all_labels GET /api/v1/workspaces/{workspace_name}/indexes/{index_name}/labels
get_label_count GET api/v1/workspaces/{workspace_name}/indexes/{index_name}/labels-count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant