Skip to content

Commit 6a33ece

Browse files
committed
Add comment on API request/response to clarify behavior
1 parent 60e61ed commit 6a33ece

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/multi_modal_search.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ const EMBEDDER_CONFIG = {
9999
},
100100
},
101101
request: {
102+
// This request object matches the Voyage API request object
102103
inputs: ["{{fragment}}", "{{..}}"],
103104
model: "voyage-multimodal-3",
104105
},
105106
response: {
106-
// Maps how Voyage API returns the embedding
107+
// This response object matches the Voyage API response object
107108
data: [
108109
{
109110
embedding: "{{embedding}}",

0 commit comments

Comments
 (0)