Skip to content

Commit

Permalink
fix(spec): chat spec update
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Nov 18, 2023
1 parent c62722f commit 398229f
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions docs/docs/docs/specs/chats.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,5 @@ Chats are essentially inference requests to a model

> OpenAI Equivalent: https://platform.openai.com/docs/api-reference/chat
## Chat Object

- Equivalent to: https://platform.openai.com/docs/api-reference/chat/object

## Chat API

See [/chat](/api/chat)

- Equivalent to: https://platform.openai.com/docs/api-reference/chat

```sh
POST https://localhost:1337/v1/chat/completions

TODO:
# Figure out how to incorporate tools
```

## Chat Filesystem

- Chats will be persisted to `messages` within `threads`
- There is no data structure specific to Chats
- This should reference Nitro ChatCompletion API page to reduce duplication.
- We are fine with adding Jan API for this but it makes sense to use Nitro as reference as Nitro is default inference engine for Jan in this release

0 comments on commit 398229f

Please sign in to comment.