Skip to content

getAnswer

getAnswer(question, provider, context): Promise<string>

Defined in: main/services/ai-provider.ts:30

Routes a question to the specified AI provider and returns the generated answer.

string

The interview question to answer.

AIProvider

The AI provider to use for generating the answer.

UserContext

User context including CV, job description, and manual context.

Promise<string>

The generated answer text.