Skip to content

Commit f028a0b

Browse files
committed
Add missing input parameter and fix mismatch type
1 parent f0f5b5e commit f028a0b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/sim/tools/ovhcloud/embeddings.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ export const embeddingsTool: ToolConfig<OVHcloudEmbeddingsParams, OVHcloudEmbedd
1414
visibility: 'user-only',
1515
description: 'Model to use for embeddings',
1616
},
17+
input: {
18+
type: 'string',
19+
required: true,
20+
visibility: 'user-only',
21+
description: 'The input you want to embed',
22+
},
1723
apiKey: {
1824
type: 'string',
1925
required: true,
@@ -56,7 +62,7 @@ export const embeddingsTool: ToolConfig<OVHcloudEmbeddingsParams, OVHcloudEmbedd
5662
},
5763

5864
outputs: {
59-
embedding: { type: 'string', description: 'Generated embeddings' },
65+
embedding: { type: 'array', description: 'Generated embeddings' },
6066
model: { type: 'string', description: 'Model used for generation' },
6167
usage: {
6268
type: 'object',

0 commit comments

Comments
 (0)