> ## Documentation Index
> Fetch the complete documentation index at: https://docs-preprod.sambanova.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LlamaIndex

LlamaIndex is an open source data orchestration framework for building large language model (LLM) applications. Learn how to use the integration by setting up your system, and then trying the example use cases.

## Setup

1. Create a [SambaCloud](https://cloud.sambanova.ai/apis "https://cloud.sambanova.ai/apis") account and get an API key.

2. Run the commands below to install the `llama-index-llms-sambanova` integration package and the `SSEClient` package.

```
pip install llama-index-llms-sambanovasystems
pip install sseclient-py
```

## Example use cases

The two notebooks below provide information on applying LlamaIndex with SambaCloud in real-world use cases.

1. The [Patient Case Summary](https://github.com/sambanova/integrations/tree/main/llamaindex/patient_case_summary "https://github.com/sambanova/integrations/tree/main/llamaindex/patient_case_summary") is a guide to build a workflow able to handle patient information, compare with medical standards, and summarize important notes to review.

2. The [Contract Review](https://github.com/sambanova/integrations/tree/main/llamaindex/contract_review "https://github.com/sambanova/integrations/tree/main/llamaindex/contract_review") walks through the development of a review system that checks against provided regulations and guidelines in order to determine compliance.

<Tip>
  View more details by reading the [LlamaIndex documentation](https://docs.llamaindex.ai/en/stable/examples/llm/sambanovasystems/ "https://docs.llamaindex.ai/en/stable/examples/llm/sambanovasystems/") for topics like streaming and async calls. 
</Tip>
