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
parent a7c1e4c7ae
commit dc7335cdf8
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 }: {