chore: use node specify llm to auto generate prompt (#6525)

This commit is contained in:
Joel 2024-07-22 18:16:33 +08:00 • committed by GitHub
commit dc7335cdf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 98 additions and 57 deletions

View file

@ -7,6 +7,7 @@ export type AutomaticRes = {
prompt: string
variables: string[]
opening_statement: string
error?: string
}
export const sendChatMessage = async (appId: string, body: Record<string, any>, { onData, onCompleted, onThought, onFile, onError, getAbortController, onMessageEnd, onMessageReplace }: {