chroma-core/chroma

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

开放

#1,169 创建于 2023年9月21日

 (5 条评论) (0 个反应) (1 位负责人)Rust (2,247 个派生)batch import
bugby-chromagood first issue

仓库指标

星标
 (27,958 个星标)
PR 合并指标
 (平均合并 1天 16小时) (30 天内合并 80 个 PR)

描述

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

贡献者指南