mirror of https://github.com/hwchase17/langchain
community[patch]: add attribution_token within GoogleVertexAISearchRetriever (#18520)
- **Description:** Add attribution_token within GoogleVertexAISearchRetriever so user can provide this information to Google support team or product team during debug session. Reference: https://cloud.google.com/generative-ai-app-builder/docs/view-analytics#user-events Attribution tokens. Attribution tokens are unique IDs generated by Vertex AI Search and returned with each search request. Make sure to include that attribution token as UserEvent.attributionToken with any user events resulting from a search. This is needed to identify if a search is served by the API. Only user events with a Google-generated attribution token are used to compute metrics. - **Issue:** No - **Dependencies:** No - **Twitter handle:** abehsu1992626 --------- Co-authored-by: Bagatur <baskaryan@gmail.com>pull/19649/head
parent
f98d7f7494
commit
5ab6b39098
Loading…
Reference in New Issue