22 lines
617 B
Plaintext
22 lines
617 B
Plaintext
---
|
|
slug: python-reference/LLMConfig
|
|
---
|
|
|
|
<a id="letta.schemas.llm_config.LLMConfig"></a>
|
|
|
|
## LLMConfig
|
|
|
|
```python
|
|
class LLMConfig(BaseModel)
|
|
```
|
|
|
|
Configuration for a Language Model (LLM) model. This object specifies all the information necessary to access an LLM model to usage with Letta, except for secret keys.
|
|
|
|
**Attributes**:
|
|
|
|
- `model` _str_ - The name of the LLM model.
|
|
- `model_endpoint_type` _str_ - The endpoint type for the model.
|
|
- `model_endpoint` _str_ - The endpoint for the model.
|
|
- `model_wrapper` _str_ - The wrapper for the model.
|
|
- `context_window` _int_ - The context window size for the model.
|