Skip to content

Commit

Permalink
Add server page
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-menlo committed Nov 19, 2023
1 parent 3d466dc commit 388786c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion docs/docs/docs/server.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 388786c

Please sign in to comment.