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

Uploaded Source

Built Distribution

cohere_haystack-2.0.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cohere_haystack-2.0.0.tar.gz
Algorithm Hash digest
SHA256 2f0f29040f01c4b65c3542720b2013e4d918eab657c3c0e1c47b7c93c2b01339
MD5 3e9b40bf84e77ebde4abb4fb5bffac7d
BLAKE2b-256 3785fe749d8cecc90ad9741236c5fc6947c682baac5046fd5ba890168f1d15a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cohere_haystack-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4593723d5fe1bced01ade825b49f4f14e7940f954d26908652a504597a678bb2
MD5 eedeb687208d4ee245e9232ea0385bd2
BLAKE2b-256 077a97b08496b970848f3183b136838857e87cd672445e1f2bdf8276fce2c6be

See more details on using hashes here.

Supported by

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