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.2.0.tar.gz (29.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.2.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cohere_haystack-4.2.0.tar.gz
Algorithm Hash digest
SHA256 8f89a0933556ab76da5dd987d790106b51cafa814ff14df9647c70dd33011e29
MD5 f96c78097dc9304f7b02d0104c04b74f
BLAKE2b-256 7eb15f71d8ff730172efc3a6e6365c09e9b82e5c72f2cc63e557d0fe391f5a0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cohere_haystack-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fc6114c73316f414d2fc0dd7b08698c2d3110cc420f7d5c77d45e1e6d6a5a3
MD5 0eeffa677fdecf5a468d1f843ebd423d
BLAKE2b-256 6e47829e9d0446c750ab7a4b740cf39bad441d8d74432a292f3c8cdca804c3c8

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