Table of Contents
pip install cohere-haystackhatch is the best way to interact with this project, to install it:
pip install hatchWith hatch installed, to run all the tests:
hatch run test:all
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:unit
For integration tests, run:
hatch run test:integration
To format your code and perform linting using Ruff (with automatic fixes), run:
hatch run fmt
To check for static type errors, run:
$ hatch run test:typescohere-haystack is distributed under the terms of the Apache-2.0 license.