-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request janhq#659 from janhq/docs/add-models-swagger
Migrate Model definitions to Swagger/OpenAPI
- Loading branch information
Showing
11 changed files
with
500 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.