fix(spec): chat spec update
This commit is contained in:
parent
c62722fd6f
commit
398229f68b
@ -12,24 +12,5 @@ Chats are essentially inference requests to a model
|
|||||||
|
|
||||||
> OpenAI Equivalent: https://platform.openai.com/docs/api-reference/chat
|
> OpenAI Equivalent: https://platform.openai.com/docs/api-reference/chat
|
||||||
|
|
||||||
## Chat Object
|
- 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
|
||||||
- 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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user