LlamaIndex
Use LlamaIndex through Respan
Set up Respan
- Sign up — Create an account at platform.respan.ai
- Create an API key — Generate one on the API keys page
- Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page
Use AI
Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.
This integration is for the Respan gateway.
What is LlamaIndex?
LlamaIndex provides a powerful framework for building LLM applications with data. You can seamlessly integrate Respan with LlamaIndex’s OpenAI LLM with minimal code changes.
Quickstart
Step 1: Install LlamaIndex
Python
Step 2: Initialize LlamaIndex with Respan
Python
Step 3: Make Your First Request
Python
Switch models
Python
See the full model list for all available models.
Supported parameters
OpenAI parameters
We support all the OpenAI parameters. You can pass them directly in the LlamaIndex configuration.
Python
Respan Parameters
Respan parameters can be passed using extra_body for better handling and customization.
Python