Skip to content

Commit 0ee96f1

Browse files
viacheslav-dobryninericbottard
authored andcommitted
docs: swap descriptions for retrieval query and document
Signed-off-by: Viacheslav Dobrynin <49430239+viacheslav-dobrynin@users.noreply.github.com>
1 parent febf86c commit 0ee96f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/spring-ai-google-genai-embedding/src/main/java/org/springframework/ai/google/genai/text/GoogleGenAiTextEmbeddingOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ public void setAutoTruncate(Boolean autoTruncate) {
133133
public enum TaskType {
134134

135135
/**
136-
* Specifies the given text is a document in a search/retrieval setting.
136+
* Specifies the given text is a query in a search/retrieval setting.
137137
*/
138138
RETRIEVAL_QUERY,
139139

140140
/**
141-
* Specifies the given text is a query in a search/retrieval setting.
141+
* Specifies the given text is a document in a search/retrieval setting.
142142
*/
143143
RETRIEVAL_DOCUMENT,
144144

0 commit comments

Comments
 (0)