跳转到主要内容

未提供项目描述

项目描述

cohere-haystack

PyPI - Version PyPI - Python Version


目录

安装

pip install cohere-haystack

贡献

hatch是与该项目交互的最佳方式,要安装它

pip install hatch

安装hatch后,运行所有测试

hatch run test

注意:除非设置环境变量COHERE_API_KEY,否则将跳过集成测试。为了通过测试,API密钥需要是有效的。

仅运行单元测试

hatch run test -m"not integration"

仅运行嵌入器测试

hatch run test -m"embedders"

仅运行生成器测试

hatch run test -m"generators"

仅运行排名器测试

hatch run test -m"ranker"

标记可以组合,例如,您可以使用以下命令仅运行嵌入器的集成测试

hatch run test -m"integrations and embedders"

运行linters ruffmypy

hatch run lint:all

许可证

cohere-haystackApache-2.0许可证的条款下发行。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码发行版

cohere_haystack-2.0.0.tar.gz (23.6 kB 查看哈希值)

上传时间 源代码

构建分发版

cohere_haystack-2.0.0-py3-none-any.whl (20.9 kB 查看哈希值)

上传时间 Python 3

支持