Skip to main content

No project description provided

Project description

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

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


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-4.0.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cohere_haystack-4.0.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file cohere_haystack-4.0.0.tar.gz.

File metadata

  • Download URL: cohere_haystack-4.0.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for cohere_haystack-4.0.0.tar.gz
Algorithm Hash digest
SHA256 60c6d331b38118f6c82cc7e434103966bdf5c9d3800885c57006bafe5f3f431f
MD5 5ea409af349e4a125941d38004ccb2e2
BLAKE2b-256 481aecbde520adf2078c38b351dd06191f6cc2ea02f2781c61aa2b1531e35889

See more details on using hashes here.

File details

Details for the file cohere_haystack-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cohere_haystack-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e22a81229a1f970132ecbb2235e6f679da918c9f70d505238d0a411add6c0aa
MD5 857792e099f7f99093920b86bf48e5b6
BLAKE2b-256 abeadf22400e6f940b7da5df13f24af6d2e031a81b74547c0da69bddad93a418

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page