Skip to content

Commit

Permalink
docs: Update 01-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
freelerobot authored Jan 4, 2024
1 parent 566a5a3 commit 86626fc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/docs/guides/05-using-server/01-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ 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 ships with a built-in API server, that can be used as a drop-in, local replacement for OpenAI's API.

Jan runs on port `1337` by default, but this can be changed in Settings.
Jan runs on port `1337` by default, but this can (soon) be changed in Settings.

Check out the [API Reference](/api-reference) for more information on the API endpoints.
1. Go to Settings > Advanced > Enable API Server

```
curl http://localhost:1337/v1/chat/completions
2. Go to http://localhost:1337/docs for API docs.

```
3. In terminal, simply CURL...

Note: Some UI states may be broken when in Server Mode.

0 comments on commit 86626fc

Please sign in to comment.