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

[Bug]: KeyError: 'dimension' error for list_collections() #2379

Closed
Prashantphalke07 opened this issue Jun 19, 2024 · 4 comments
Closed

[Bug]: KeyError: 'dimension' error for list_collections() #2379

Prashantphalke07 opened this issue Jun 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Prashantphalke07
Copy link

What happened?

When calling list_collections() method from chromadb client(http client), getting KeyError: 'dimension'.

It it working fine for chromadb== 0.5.0

Versions

Chromadb 0.5.3
Python 3.10.12
Databricks Runtime Version - 14.0 (includes Apache Spark 3.5.0, Scala 2.12)

Relevant log output

No response

@Prashantphalke07 Prashantphalke07 added the bug Something isn't working label Jun 19, 2024
@houssemtun
Copy link

I have the same issue since yesterday.
Workaround: Use the old version 0.5.0

What happened?

When calling list_collections() method from chromadb client(http client), getting KeyError: 'dimension'.

It it working fine for chromadb== 0.5.0

Versions

Chromadb 0.5.3 Python 3.10.12 Databricks Runtime Version - 14.0 (includes Apache Spark 3.5.0, Scala 2.12)

Relevant log output

No response

I have the same issue since yesterday.
Workaround: Use the old version 0.5.0

@tazarov
Copy link
Contributor

tazarov commented Jun 19, 2024

This is duplicate of #2377

@HammadB
Copy link
Collaborator

HammadB commented Jun 19, 2024

Chroma does not try to maintain client/server version forward compatibility while still pre 1.0 release. Please ensure your client/server are the same version. we will soon patch this specific instance however

@HammadB
Copy link
Collaborator

HammadB commented Jun 19, 2024

Closing as dupe

@HammadB HammadB closed this as completed Jun 19, 2024
HammadB pushed a commit that referenced this issue Jun 19, 2024
)

Closes #2377 #2379

## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
- Making dimension and version lookup optional in the Collection model
creation in fastapi client

## Test plan
*How are these changes tested?*

- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
N/A
Anush008 pushed a commit to Anush008/chroma that referenced this issue Jun 27, 2024
…roma-core#2378)

Closes chroma-core#2377 chroma-core#2379

## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
- Making dimension and version lookup optional in the Collection model
creation in fastapi client

## Test plan
*How are these changes tested?*

- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants