486 B
486 B
LLM API
LMstudio
Use this file src\lib\lmstudio.ts
- async function callLmstudio(prompt: string): Promise { for just run prompt
- async function callLMStudioAPIWithFile(imagePath: string, prompt: string): Promise { for send file to llm
OpenAI
Use this file src\lib\openai.ts
- async function callOpenAI(prompt: string): Promise for just run prompt
- async function callOpenAIWithFile(imagePath: string, prompt: string): Promise for send file to llm