Pass format
This commit is contained in:
parent
7411669d33
commit
4ba465cd97
|
@ -1 +1 @@
|
|||
Subproject commit 8bcb90edac3d44c48eaecf526cedc82418035438
|
||||
Subproject commit 6c88253245b77bf589a7027b72032e9aa942fc4c
|
|
@ -5,8 +5,11 @@ export interface Message {
|
|||
content: string
|
||||
}
|
||||
|
||||
export type ResponseFormat = "text" | "json"
|
||||
|
||||
export interface ChatCompletionRequest {
|
||||
messages: Message[]
|
||||
format?: ResponseFormat
|
||||
}
|
||||
|
||||
export interface ChatCompletionResponse {
|
||||
|
|
Loading…
Reference in New Issue