Add server page
This commit is contained in:
parent
3d466dc6cb
commit
388786cc95
@ -1,3 +1,20 @@
|
|||||||
---
|
---
|
||||||
title: API Server
|
title: API Server
|
||||||
---
|
---
|
||||||
|
|
||||||
|
:::warning
|
||||||
|
|
||||||
|
This page is under construction.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
|
Jan ships with a built-in API server, that can be used as a drop-in replacement for OpenAI's API.
|
||||||
|
|
||||||
|
Jan runs on port `1337` by default, but this can be changed in Settings.
|
||||||
|
|
||||||
|
Check out the [API Reference](/api-reference) for more information on the API endpoints.
|
||||||
|
|
||||||
|
```
|
||||||
|
curl https://localhost:1337/v1/chat/completions
|
||||||
|
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user