| 14 | } |
| 15 | |
| 16 | export interface OpenAIStreamPayload { |
| 17 | model: string |
| 18 | messages: ChatGPTMessage[] |
| 19 | temperature: number |
| 20 | top_p: number |
| 21 | frequency_penalty: number |
| 22 | presence_penalty: number |
| 23 | max_tokens: number |
| 24 | stream: boolean |
| 25 | n: number |
| 26 | } |
| 27 | |
| 28 | export async function OpenAIStream( |
| 29 | payload: OpenAIStreamPayload, |
nothing calls this directly
no outgoing calls
no test coverage detected