TrafficGuard / sophia

TypeScript AI agent platform with Autonomous agents, Software developer agents, AI code review agents and more
https://sophia.dev
MIT License
821 stars 36 forks source link

Create Google reranker #30

Open danielcampagnolitg opened 2 weeks ago

danielcampagnolitg commented 2 weeks ago

Create a reranker function using the Google Cloud discoveryengine client library.

Python example https://medium.com/google-cloud/reranking-3b5f351cb398

Node.js reference https://cloud.google.com/nodejs/docs/reference/discoveryengine/latest/discoveryengine/v1.rankserviceclient

Package https://www.npmjs.com/package/@google-cloud/discoveryengine