/** * @typedef {import('app/config/types').LLMConfig} LLMConfig */ /** * @type {LLMConfig} */ const config = { type: "vertexai", params: { prompt_template: ` ### Instruction: Use the following pieces of context to answer the question at the end. If the answer isn't in the context, say that you don't know, don't try to make up an answer. ### Context: --------------- {context} --------------- ### Question: {question} ### Response: `, model_kwargs: { model_name: "gemini-pro", temperature: 0.0, }, }, }; module.exports = config;