Skip to main content

llama-index llms sambanova cloud and sambastudio integration

Project description

LlamaIndex LLM Integration: SambaNova LLM

SambaNova Systems LLMs are custom LLMs (Language Models) interfaces that allow you to interact with AI models hosted on SambaNova's offerings - SambaNova Cloud and SambaStudio

Key Features:

  • Integration with SambaNova-hosted AI models
  • Integration two SambaNova offerings - SambaNova Cloud and SambaStudio
  • Support for completion based interactions
  • Streaming support for completion responses
  • Seamless integration with the LlamaIndex ecosystem

Installation

pip install llama-index-llms-sambanovasystems

Usage

from llama_index.llms.sambanovasystems import SambaNovaCloud

SambaNovaCloud(
    sambanova_url="SambaNova cloud endpoint URL",
    sambanova_api_key="set with your SambaNova cloud API key",
    model="model name",
)

Usage

from llama_index.llms.sambanovasystems import SambaStudio

SambaStudio(
    sambastudio_url="SambaStudio endpoint URL",
    sambastudio_api_key="set with your SambaStudio endppoint API key",
    model="model name",
)

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

llama_index_llms_sambanovasystems-0.4.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_llms_sambanovasystems-0.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a9a3aacd030c2309e20f065ea293ff36fd895d00c38b6a9ac4f13537e0c55133
MD5 bd170f889db32e7b332ab49bc65697e7
BLAKE2b-256 f296c5c2dadec0c55d517cc2e8671bdbb4af292dc0439e9863dcc2926dc9e200

See more details on using hashes here.

File details

Details for the file llama_index_llms_sambanovasystems-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8525a9722a7b74f546ecdab0b9b58007f4dcd1c22b9de69f803e85da2c11cc33
MD5 0f0f5109f51e4460c74e074345cf3a25
BLAKE2b-256 bf5fb6f63c48d549436ab01c1511ba52c69f1cc8ef4a0220859e90c7ca0cf26c

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