这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: Issue with Chroma API in Docker - Vector Count Stays Zero and Errors on API Calls #3482

@ismailakincom

Description

@ismailakincom

How are you running AnythingLLM?

Docker (local)

What happened?

http://localhost:8000/api/v2
http://localhost:8000

I installed Chroma using Docker, and it seems to be running at http://localhost:8000. However, when I try to use the v1 API endpoint (/api/v1/collections), I get the following error:

{"error":"InvalidArgumentError","message":"cannot unpack non-iterable coroutine object"}
Additionally, when I add documents, the vector count remains zero.
Vektör veritabanı tanımlayıcısı

Image Image Image

chroma
Vektör Sayısı
0

After some research, I found that I should be using the v2 API (http://localhost:8000/api/v2), but when I try to make requests to v2, I still encounter errors.

Interestingly, when I switch to LanceDB, everything works fine, so this issue seems specific to Chroma.

How can I resolve this issue with Chroma?

Thanks!

Are there known steps to reproduce?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions