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.4.1.tar.gz (10.0 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.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9fc06d5933c31d788b2239eced43563a7af11058f68995c2bcf1c791003da102
MD5 d363a10e6319de3ef2b1ac592f37455e
BLAKE2b-256 a630adf89c7374cce22dc4ec2d45249f6e0a633b8e3e70599fbc93cf1239e411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac9d3494a8279a51243370f3e3c660247d7cbbb8170aace46871a7a5dee3bc81
MD5 16b81248afa4057e2c134eee37fdf29e
BLAKE2b-256 49695f4a7b71599f2f6c6e2a24a2c0cd9d4e39762641147ce416491437c8d445

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