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",
    context_window=100000,
)

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",
    context_window=100000,
)

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.5.0.tar.gz (11.4 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.5.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.5.0.tar.gz
Algorithm Hash digest
SHA256 52af54838a6ff97379786f8d1f589e8ec6cb0c98c486298ecca9b95fb5b0ccca
MD5 b451974e3b19fea53af623a19fffd01e
BLAKE2b-256 2720bae1ab56cd1b8e17b65eeda2c9bc0ebc652eb27f1357b901448bf70a2e7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a393de4fb864436109d39650c339d5c80ba03459495e2ef81ade4ba2ede8d00
MD5 5b90b7c20527ea37c185bb5979374897
BLAKE2b-256 2e31d77778fcd74adeeeb46e7ad18d418a5f626706fcc3898f556d7162bd4f0c

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