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
feat: Add embedding functions and unit tests for Gemini #95
Closed
gutyoh closed 10 months ago
GeminiAIWrapper.js
to include embedding functionsGeminiAIWrapper.test.js
with extra unit test case for embeddingRemoteEmbedModel.js
by adding Gemini as providing, calling the related function.RemoteEmbedModel.test.js
to include an extra unit test case for the Gemini provider.config.json
to include the Gemini embedding endpointWith this PR, we should close issue #94
Attached are two text files the results of the
GeminiAIWrapper.test.js
andRemoteEmbedModel.test.js
test runs: