save changes
This commit is contained in:
@ -14,4 +14,13 @@ Use this file src\lib\openai.ts
|
||||
- async function callOpenAI(prompt: string): Promise<any>
|
||||
for just run prompt
|
||||
- async function callOpenAIWithFile(imagePath: string, prompt: string): Promise<any>
|
||||
for send file to llm
|
||||
for send file to llm
|
||||
|
||||
|
||||
Please construct prompt to return json alswasy for calling llm api to generate text.
|
||||
If nothing specified add following instructin in the given prompt
|
||||
|
||||
Return the result in this forket
|
||||
{"result":""}
|
||||
|
||||
Then extract the result param in program you generate, don't change the original function
|
||||
Reference in New Issue
Block a user