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

Uploaded Source

Built Distribution

gigachain_together-0.1.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gigachain_together-0.1.3.tar.gz
  • Upload date:
  • Size: 8.5 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.3.tar.gz
Algorithm Hash digest
SHA256 e84385352dd9495619385469c098a328d3fb01a2376b0f4ccc96f7ebee0ea2f4
MD5 b3809a16d9f05e643566f9e97a42f0c7
BLAKE2b-256 41ac2189ebdd741b0faee7a43b848ccc4e9d04bbaae0aa02d5a8e1d7044d0bd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gigachain_together-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f228aea583e03d43ff969726f75e344a795f90abfc43f241bc37ed72d060b78c
MD5 0cac5361f2cd03b295be8fa9285b6fb1
BLAKE2b-256 ab11ef860d1c2db569dfbf9fad20b5f0b06fbafbe728d72e8362fa39c8e1b5f9

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