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.3.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.3.tar.gz.

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.3.tar.gz
Algorithm Hash digest
SHA256 f87142b35b8dbc6be5ef3e9beb2a7579b785f8ad1b7ee7fc76d9457c9b72eb1c
MD5 71095ab1aadbcc4ab076a7e2a86387af
BLAKE2b-256 d2bea0c99fcd022ca132e71544e2f1b8b5fca1399cd2cad42af897f490c6856a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58d660f83f61c57125c5308cd1dc27d2226cfaa3b2eed6c47b81688b4b061710
MD5 c9ef739f9af26f664edfabad5f1d2092
BLAKE2b-256 e46b0bea583a12753dfb077f1e3e12b9484701335c8ca1eadd3dc6dbad836cea

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