Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Type: Framework or PlatformPrimary Path: OpenAI-compatible via OpenAILikeSupport Confidence: Supported via OpenAILike
OpenAILike for third-party OpenAI-compatible endpoints, because the built-in OpenAI classes infer metadata from official model names.
In other words: treat OpenAILike as the supported LemonData path here, not the built-in OpenAI classes.
Installation
Basic Configuration
Basic Usage
Chat
Streaming
Embeddings
RAG with Documents
Chat Engine
Async Usage
Best Practices
Use OpenAILike for LemonData
Use OpenAILike for LemonData
Prefer
llama_index.llms.openai_like.OpenAILike and llama_index.embeddings.openai_like.OpenAILikeEmbedding for LemonData and other third-party OpenAI-compatible gateways.Set api_base explicitly
Set api_base explicitly
Pass
api_base="https://api.lemondata.cc/v1" directly in code instead of relying on older OpenAI environment-variable names.Keep model roles separated
Keep model roles separated
Use chat/reasoning models for synthesis and
text-embedding-3-small or text-embedding-3-large for retrieval.