Skip to content

Latest commit

 

History

History
 
 

README.md

cohere-haystack

PyPI - Version PyPI - Python Version


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: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:types

License

cohere-haystack is distributed under the terms of the Apache-2.0 license.