typesense / typesense/typesense

Support setting "Task Type" for Google's Vertex AI text embeddings

Open
#2,224 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature:vectorsearch
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.