Access the latest AI models like ChatGPT, LLaMA, Diffusion, Gemini Hugging face, and beyond through a unified prompt layer and performance evaluation
231
stars
16
forks
source link
Update Gemini to include the embedding function #94
Closed
intelligentnode closed 10 months ago
Check google api example to call embedding
Update the GeminiAIWrapper.test.js with extra unit test case for embeding - print the response to check the parsing format.
Update the
RemoteEmbedModel.js
by adding Gemini as providing, calling the related function.Edit places:
EmbedInput
calledgetGeminiInputs()
.4- Update
RemoteEmbedModel.test.js
to include extra unit test case for Gemini provider.Notes:
config.json
to include the gemini embedding endpoint.