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.2.tar.gz (24.1 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-2.0.2-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cohere_haystack-2.0.2.tar.gz
Algorithm Hash digest
SHA256 efbee59933101da4b83f1eee7615f9fbc4a46a9078c6b82cbbae087a7b2b78b3
MD5 1110d0cefa5a8121664ecc40bb027437
BLAKE2b-256 0356582ec0c9d18ceb5de9840e204159a17cc2fbacec56d98341e807d795e944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cohere_haystack-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc8c0c0db9cfaa3f78da9674268b0030cb0908fe47ae4ff18c10c07b0bb8a71
MD5 131e1de991b5db0aa8ce4e88a9f29c24
BLAKE2b-256 a5ae4fe606792eecea624cddf88de43c78409a957f8e9a97cdc14e74e4909bb9

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