Add server page

This commit is contained in:
Daniel 2023-11-19 23:17:04 +08:00
parent 3d466dc6cb
commit 388786cc95

View File

@ -1,3 +1,20 @@
---
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
```