No project description provided
Project description
cohere-haystack
Table of Contents
Installation
pip install cohere-haystack
Contributing
hatch
is the best way to interact with this project, to install it:
pip install hatch
With hatch
installed, to run all the tests:
hatch run test
Note: integration tests will be skipped unless the env var COHERE_API_KEY is set. The api key needs to be valid in order to pass the tests.
To only run unit tests:
hatch run test -m"not integration"
To only run embedders tests:
hatch run test -m"embedders"
To only run generators tests:
hatch run test -m"generators"
To only run ranker tests:
hatch run test -m"ranker"
Markers can be combined, for example you can run only integration tests for embedders with:
hatch run test -m"integrations and embedders"
To run the linters ruff
and mypy
:
hatch run lint:all
License
cohere-haystack
is distributed under the terms of the Apache-2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cohere_haystack-1.1.1.tar.gz
(20.8 kB
view hashes)
Built Distribution
Close
Hashes for cohere_haystack-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43ec3b3ce9ef22444da760443dc49a440747e2abaaba68cc5e62c912a27af8c5 |
|
MD5 | 938814cccd8dbfde7be8931d52ae17e7 |
|
BLAKE2b-256 | e5a0d776284be9c6c67a2c4aa4de6ea5d71dee29eefdc65e93aabf2a8d102c2a |