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.2.tar.gz (10.1 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.2.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.2.tar.gz
Algorithm Hash digest
SHA256 04e8d57bb1d66f7bd585780d70bf5cb0102a91803e7d107e75dea65463bb6340
MD5 5d3f38e4e6f2f52303dd495f8e417892
BLAKE2b-256 90ffb91368e8348438daf4b581325b8417b79d12e43615d719b9a191cb38c6c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57febf7c0f9439acbce369a3b9ef1b1bde5f86179c83d31b7432165d97d62fb3
MD5 89e4805fd9fc1ad94e36baef38612154
BLAKE2b-256 a1d73bdea6508120ff2d246908c4307694a1174fa64893eefbe4377a365d2d11

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