typesense / typesense/typesense
Support setting "Task Type" for Google's Vertex AI text embeddings
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.6k
- Forks
- 973
- Avg merge
- 18h 45m
- Merged PRs (30d)
- 4
Description
Google's Vertex AI text embeddings support a concept called "Task Types" (Docs).
"Vertex AI embeddings models can generate optimized embeddings for various task types, such as document retrieval, question and answering, and fact verification. Task types are labels that optimize the embeddings that the model generates based on your intended use case."
Allowing users to set the task type for queries and documents specific to their use case would be great.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Vertex AI text embeddings documentation linked in the issue, then locate the existing Google Vertex AI embedding integration in the repository. Determine how task types should be supplied separately for queries and documents, and consider the work done when users can configure those values for their use case. No specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, google-cloud
- Domain
- search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100