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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.5.1.tar.gz
Algorithm Hash digest
SHA256 abfe8c1e011a09fb1e0545b4d351167fc51fe70e91e83e658baf8e3b294ba9e6
MD5 d3cce4d9b086a388c73e9f035812cf56
BLAKE2b-256 939cdd39cfce045864523c2c9d4d3d94ef24add7ead878843589cd3d5acc33ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_llms_sambanovasystems-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c2a2e8ef9ee3417ef5b5270e45eeeca8a2d3b0cce04201ece54b35e92dca3fa
MD5 7032dc74cbefad50366868a9f601ac2e
BLAKE2b-256 44bb18640c3e1fe20617fe8d47bb6ca265beb891d2bda9d603a01eafb5335ac7

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