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

# Configure Models (Models)

## LangBot Models

LangBot Models is an official model service provided by LangBot. When you initialize a local instance with your LangBot Space account, available models will be automatically added to your instance without any configuration. You will receive a certain amount of free quota to get started quickly.

<img src="https://mintcdn.com/langbot/OB26CZsqXqbSrW_A/images/zh/deploy/models/langbot_models.png?fit=max&auto=format&n=OB26CZsqXqbSrW_A&q=85&s=39c31694d779fa06ccdb44465b0a851e" alt="langbot_models" width="1864" height="1247" data-path="images/zh/deploy/models/langbot_models.png" />

For specific available models, please check [LangBot Space](https://space.langbot.app/models).

## Custom Models

You can also add models from other sources.

### LLM Model

Models will be used by pipelines to process messages. The first model you configure will be set as the model for the default pipeline.

<img src="https://mintcdn.com/langbot/OB26CZsqXqbSrW_A/images/zh/deploy/models/arch.png?fit=max&auto=format&n=OB26CZsqXqbSrW_A&q=85&s=5dd5ce6d259b7c44918d53baf923ebc3" alt="arch" width="1140" height="610" data-path="images/zh/deploy/models/arch.png" />

You can add multiple models, and then select which model to use in the pipeline.

<img width="400px" src="https://mintcdn.com/langbot/OB26CZsqXqbSrW_A/images/zh/deploy/models/model_config.png?fit=max&auto=format&n=OB26CZsqXqbSrW_A&q=85&s=083209b1d83cd4d1dfe7971bd5c1d091" alt="model_config" data-path="images/zh/deploy/models/model_config.png" />

Enter these four parameters: `Model Name`, `Model Provider`, `Request URL`, and `API Key`, then submit.

For model capabilities, please choose according to the specific model characteristics:

* Visual Capability: Needs to be enabled to recognize images

* Function Calling: Needs to be enabled to use Agent tools in conversations

### Embedding Model

Embedding models are used to compute vector representations of messages. If you need to use knowledge bases, please configure this model.

<img width="400px" src="https://mintcdn.com/langbot/OB26CZsqXqbSrW_A/images/zh/deploy/models/embedding_model.png?fit=max&auto=format&n=OB26CZsqXqbSrW_A&q=85&s=b2691d6d69fdd9cc74d73d59cc54f379" alt="embedding_model" data-path="images/zh/deploy/models/embedding_model.png" />

Enter these four parameters: `Model Name`, `Model Provider`, `Request URL`, and `API Key`, then submit. After that, please configure the knowledge base to use this model.

### Using seekdb Built-in Embedding Model (Zero Configuration)

The system has integrated the official embedding model provided by seekdb, no parameters required.

* On the "Embedding Model" page, select "seekdb-built-in";
* Click "Save" to use it immediately;
* Then select this model in your knowledge base to take effect.

### Using Chroma Built-in Embedding Model (Zero Configuration)

The system has integrated Chroma's built-in embedding model (all-MiniLM-L6-v2), no parameters required.

* On the "Embedding Model" page, select "chroma-built-in";
* Click "Save" to use it immediately;
* Then select this model in your knowledge base to take effect.

### Rerank Model

Rerank models re-score RAG retrieval results to significantly improve the precision of knowledge base answers. When a knowledge base returns multiple candidate documents, the rerank model uses a cross-encoder to precisely score each document's relevance to the query, selecting only the most relevant content.

Enter `Model Name` and select `Model Provider`, then submit. After that, select this model in your pipeline's "AI" configuration.

<Tip>
  Rerank models are optional. Without one, knowledge base results are used in their original retrieval order. With a rerank model configured, results are re-scored and only the top-K most relevant results are kept.
</Tip>
