chroma-core/chroma

[Bug]: type errors in chromadb/utils/embedding_functions.py

オープン

#1,169 opened on 2023/09/21

 (5 件のコメント) (0 件のリアクション) (1 人の担当者)Rust (2,247 件のフォーク)batch import
bugby-chromagood first issue

Repository metrics

Stars
 (27,958 個のスター)
PR merge metrics
 (平均マージ 1d 16h) (30d で 80 merged PRs)

説明

What happened?

mypy complains about type errors in chromadb/utils/embedding_functions.py, specifically with some __call__ and _normalize methods. See some of the #type: ignores in https://github.com/chroma-core/chroma/pull/1163 for specifics.

It's worth figuring out the correct type annotations for these methods and the methods they call into so that our type checking works as intended.

Versions

Chroma latest, python 3.9.6, macOS

Relevant log output

No response

コントリビューターガイド