Files
2025-09-25 21:44:12 +02:00

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