Spaces:
Sleeping
Sleeping
File size: 301 Bytes
0f43f8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
---
title: Custom Endpoint
---
Simply set `api_base` to any OpenAI compatible server:
<CodeGroup>
```bash Terminal
interpreter --api_base <custom_endpoint>
```
```python Python
from interpreter import interpreter
interpreter.llm.api_base = "<custom_endpoint>"
interpreter.chat()
```
</CodeGroup>
|