Skip to main content

An integration package connecting Together AI and GigaChain

Project description

langchain-together

This package contains the LangChain integrations for Together AI through their APIs.

Installation and Setup

  • Install the LangChain partner package
pip install -U langchain-together
  • Get your Together AI api key from the Together Dashboard and set it as an environment variable (TOGETHER_API_KEY)

Chat Completions

This package contains the ChatTogether class, which is the recommended way to interface with Together AI chat models.

ADD USAGE EXAMPLE HERE. Can we add this in the langchain docs?

NEED to add image endpoint + completions endpoint as well

Embeddings

See a usage example

Use togethercomputer/m2-bert-80M-8k-retrieval as the default model for embeddings.

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

gigachain_together-0.1.5.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

gigachain_together-0.1.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file gigachain_together-0.1.5.tar.gz.

File metadata

  • Download URL: gigachain_together-0.1.5.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0

File hashes

Hashes for gigachain_together-0.1.5.tar.gz
Algorithm Hash digest
SHA256 afaba9b7b990b1b198c06ffc02f163e94cfcc4dfce4bce0ebba575ae5bf337bc
MD5 ce4b7a4e1f74104850fe69480ba9e538
BLAKE2b-256 511152c2a16ab46784cd5479ffeebe2bc20de58bed80055f7a99189c67013082

See more details on using hashes here.

File details

Details for the file gigachain_together-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for gigachain_together-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 127c507221da1e711ababb24cfa9931830ede5b1de0995b2b0d460c905eab61a
MD5 9d05c7d6d5503a8842d97e40ea15276b
BLAKE2b-256 7e2367c547423f881178c5a2f96c6489ddb5dcaa88e23b469fa13690935a077e

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