You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Google Chat Wrapper should be able to fetch the model list from google to include your finetuned models and gemini 1.5 according to the updated google documentation. If I could code I would do it but I am running on gemini 1.0 still and its limiting my capacity
I would guess the proper code is something like this
// ... existing code ...
async listModels(): Promise<INodeOptionsValue[]> {
const models = await getModels(MODEL_TYPE.EMBEDDING, 'googleGenerativeAiEmbeddings')
// Add the new model name to the list
models.push({ label: 'Gemini 1.5', name: 'gemini-1.5' })
return models
}
// ... rest of the code ...
The text was updated successfully, but these errors were encountered:
The Google Chat Wrapper should be able to fetch the model list from google to include your finetuned models and gemini 1.5 according to the updated google documentation. If I could code I would do it but I am running on gemini 1.0 still and its limiting my capacity
[packages/components/nodes/embeddings/GoogleGenerativeAIEmbedding/GoogleGenerativeAIEmbedding.ts]
I would guess the proper code is something like this
// ... existing code ...
async listModels(): Promise<INodeOptionsValue[]> {
const models = await getModels(MODEL_TYPE.EMBEDDING, 'googleGenerativeAiEmbeddings')
// Add the new model name to the list
models.push({ label: 'Gemini 1.5', name: 'gemini-1.5' })
return models
}
// ... rest of the code ...
The text was updated successfully, but these errors were encountered: