Skip to content

Commit f8dd739

Browse files
monikakusterivicac
authored andcommitted
1344 - json - generated
1 parent 1e67471 commit f8dd739

File tree

1 file changed

+377
-0
lines changed
  • server/libs/modules/components/ai/vector-store/pinecone/src/test/resources/definition

1 file changed

+377
-0
lines changed
Lines changed: 377 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,377 @@
1+
{
2+
"categories" : [ {
3+
"key" : "artificial-intelligence",
4+
"label" : "artificial-intelligence"
5+
} ],
6+
"customAction" : null,
7+
"customActionHelp" : null,
8+
"description" : "Pinecone is a vector database designed for efficient similarity search and storage of high-dimensional data, commonly used in machine learning and AI applications.",
9+
"icon" : "path:assets/pinecone.svg",
10+
"tags" : null,
11+
"metadata" : null,
12+
"name" : "pinecone",
13+
"resources" : null,
14+
"version" : 1,
15+
"title" : "Pinecone",
16+
"actions" : [ {
17+
"batch" : null,
18+
"deprecated" : null,
19+
"description" : "Query data from a Pinecone vector store using OpenAI embeddings.",
20+
"help" : null,
21+
"metadata" : null,
22+
"name" : "dataQuery",
23+
"outputDefinition" : {
24+
"output" : null,
25+
"outputResponse" : null,
26+
"outputSchema" : null,
27+
"sampleOutput" : null
28+
},
29+
"properties" : [ {
30+
"advancedOption" : null,
31+
"description" : "The query to be executed.",
32+
"displayCondition" : null,
33+
"expressionEnabled" : null,
34+
"hidden" : null,
35+
"metadata" : { },
36+
"required" : true,
37+
"name" : "query",
38+
"type" : "STRING",
39+
"defaultValue" : null,
40+
"exampleValue" : null,
41+
"label" : "Query",
42+
"placeholder" : null,
43+
"controlType" : "TEXT",
44+
"languageId" : null,
45+
"maxLength" : null,
46+
"minLength" : null,
47+
"options" : null,
48+
"optionsDataSource" : null
49+
} ],
50+
"title" : "Data Query",
51+
"processErrorResponse" : null,
52+
"perform" : { },
53+
"workflowNodeDescription" : null
54+
}, {
55+
"batch" : null,
56+
"deprecated" : null,
57+
"description" : "Loads data into a Pinecone vector store using OpenAI embeddings.",
58+
"help" : null,
59+
"metadata" : null,
60+
"name" : "loadData",
61+
"outputDefinition" : null,
62+
"properties" : [ {
63+
"advancedOption" : null,
64+
"description" : "The type of the document.",
65+
"displayCondition" : null,
66+
"expressionEnabled" : null,
67+
"hidden" : null,
68+
"metadata" : { },
69+
"required" : true,
70+
"name" : "documentType",
71+
"type" : "STRING",
72+
"defaultValue" : null,
73+
"exampleValue" : null,
74+
"label" : "Document Type",
75+
"placeholder" : null,
76+
"controlType" : "SELECT",
77+
"languageId" : null,
78+
"maxLength" : null,
79+
"minLength" : null,
80+
"options" : [ {
81+
"description" : null,
82+
"label" : "JSON document",
83+
"value" : "json"
84+
}, {
85+
"description" : null,
86+
"label" : "Markdown document",
87+
"value" : "md"
88+
}, {
89+
"description" : null,
90+
"label" : "PDF document",
91+
"value" : "pdf"
92+
}, {
93+
"description" : null,
94+
"label" : "text document",
95+
"value" : "txt"
96+
}, {
97+
"description" : null,
98+
"label" : "Tika (DOCX, PPTX, HTML...)",
99+
"value" : "tika"
100+
} ],
101+
"optionsDataSource" : null
102+
}, {
103+
"advancedOption" : null,
104+
"description" : "Json keys on which extraction of content is based. If no keys are specified, it uses the entire JSON object as content.",
105+
"displayCondition" : "document == 'json'",
106+
"expressionEnabled" : null,
107+
"hidden" : null,
108+
"metadata" : { },
109+
"required" : false,
110+
"name" : "jsonKeysToUse",
111+
"type" : "ARRAY",
112+
"defaultValue" : null,
113+
"exampleValue" : null,
114+
"label" : "JSON Keys to Use",
115+
"placeholder" : null,
116+
"items" : [ {
117+
"advancedOption" : null,
118+
"description" : null,
119+
"displayCondition" : null,
120+
"expressionEnabled" : null,
121+
"hidden" : null,
122+
"metadata" : { },
123+
"required" : null,
124+
"name" : null,
125+
"type" : "STRING",
126+
"defaultValue" : null,
127+
"exampleValue" : null,
128+
"label" : null,
129+
"placeholder" : null,
130+
"controlType" : "TEXT",
131+
"languageId" : null,
132+
"maxLength" : null,
133+
"minLength" : null,
134+
"options" : null,
135+
"optionsDataSource" : null
136+
} ],
137+
"maxItems" : null,
138+
"minItems" : null,
139+
"multipleValues" : null,
140+
"options" : null,
141+
"controlType" : "ARRAY_BUILDER",
142+
"optionsDataSource" : null
143+
}, {
144+
"advancedOption" : null,
145+
"description" : null,
146+
"displayCondition" : null,
147+
"expressionEnabled" : null,
148+
"hidden" : null,
149+
"metadata" : { },
150+
"required" : true,
151+
"name" : "document",
152+
"type" : "FILE_ENTRY",
153+
"defaultValue" : null,
154+
"exampleValue" : null,
155+
"label" : null,
156+
"placeholder" : null,
157+
"properties" : [ {
158+
"advancedOption" : null,
159+
"description" : null,
160+
"displayCondition" : null,
161+
"expressionEnabled" : null,
162+
"hidden" : null,
163+
"metadata" : { },
164+
"required" : true,
165+
"name" : "extension",
166+
"type" : "STRING",
167+
"defaultValue" : null,
168+
"exampleValue" : null,
169+
"label" : null,
170+
"placeholder" : null,
171+
"controlType" : "TEXT",
172+
"languageId" : null,
173+
"maxLength" : null,
174+
"minLength" : null,
175+
"options" : null,
176+
"optionsDataSource" : null
177+
}, {
178+
"advancedOption" : null,
179+
"description" : null,
180+
"displayCondition" : null,
181+
"expressionEnabled" : null,
182+
"hidden" : null,
183+
"metadata" : { },
184+
"required" : true,
185+
"name" : "mimeType",
186+
"type" : "STRING",
187+
"defaultValue" : null,
188+
"exampleValue" : null,
189+
"label" : null,
190+
"placeholder" : null,
191+
"controlType" : "TEXT",
192+
"languageId" : null,
193+
"maxLength" : null,
194+
"minLength" : null,
195+
"options" : null,
196+
"optionsDataSource" : null
197+
}, {
198+
"advancedOption" : null,
199+
"description" : null,
200+
"displayCondition" : null,
201+
"expressionEnabled" : null,
202+
"hidden" : null,
203+
"metadata" : { },
204+
"required" : true,
205+
"name" : "name",
206+
"type" : "STRING",
207+
"defaultValue" : null,
208+
"exampleValue" : null,
209+
"label" : null,
210+
"placeholder" : null,
211+
"controlType" : "TEXT",
212+
"languageId" : null,
213+
"maxLength" : null,
214+
"minLength" : null,
215+
"options" : null,
216+
"optionsDataSource" : null
217+
}, {
218+
"advancedOption" : null,
219+
"description" : null,
220+
"displayCondition" : null,
221+
"expressionEnabled" : null,
222+
"hidden" : null,
223+
"metadata" : { },
224+
"required" : true,
225+
"name" : "url",
226+
"type" : "STRING",
227+
"defaultValue" : null,
228+
"exampleValue" : null,
229+
"label" : null,
230+
"placeholder" : null,
231+
"controlType" : "TEXT",
232+
"languageId" : null,
233+
"maxLength" : null,
234+
"minLength" : null,
235+
"options" : null,
236+
"optionsDataSource" : null
237+
} ],
238+
"controlType" : "FILE_ENTRY"
239+
} ],
240+
"title" : "Load Data",
241+
"processErrorResponse" : null,
242+
"perform" : { },
243+
"workflowNodeDescription" : null
244+
} ],
245+
"dataStream" : null,
246+
"triggers" : null,
247+
"unifiedApi" : null,
248+
"connection" : {
249+
"authorizations" : [ {
250+
"detectOn" : null,
251+
"description" : null,
252+
"name" : "custom",
253+
"properties" : [ {
254+
"advancedOption" : null,
255+
"description" : "The API key for the OpenAI API which is used to generate embeddings.",
256+
"displayCondition" : null,
257+
"expressionEnabled" : null,
258+
"hidden" : null,
259+
"metadata" : { },
260+
"required" : true,
261+
"name" : "embeddingApiKey",
262+
"type" : "STRING",
263+
"defaultValue" : null,
264+
"exampleValue" : null,
265+
"label" : "Open AI API Key",
266+
"placeholder" : null,
267+
"controlType" : "TEXT",
268+
"languageId" : null,
269+
"maxLength" : null,
270+
"minLength" : null,
271+
"options" : null,
272+
"optionsDataSource" : null
273+
}, {
274+
"advancedOption" : null,
275+
"description" : "The API key for the Pinecone API.",
276+
"displayCondition" : null,
277+
"expressionEnabled" : null,
278+
"hidden" : null,
279+
"metadata" : { },
280+
"required" : true,
281+
"name" : "apiKey",
282+
"type" : "STRING",
283+
"defaultValue" : null,
284+
"exampleValue" : null,
285+
"label" : "Pinecone API Key",
286+
"placeholder" : null,
287+
"controlType" : "TEXT",
288+
"languageId" : null,
289+
"maxLength" : null,
290+
"minLength" : null,
291+
"options" : null,
292+
"optionsDataSource" : null
293+
}, {
294+
"advancedOption" : null,
295+
"description" : "Pinecone environment.",
296+
"displayCondition" : null,
297+
"expressionEnabled" : null,
298+
"hidden" : null,
299+
"metadata" : { },
300+
"required" : true,
301+
"name" : "environment",
302+
"type" : "STRING",
303+
"defaultValue" : "gcp-starter",
304+
"exampleValue" : null,
305+
"label" : "Environment",
306+
"placeholder" : null,
307+
"controlType" : "TEXT",
308+
"languageId" : null,
309+
"maxLength" : null,
310+
"minLength" : null,
311+
"options" : null,
312+
"optionsDataSource" : null
313+
}, {
314+
"advancedOption" : null,
315+
"description" : "Pinecone project ID.",
316+
"displayCondition" : null,
317+
"expressionEnabled" : null,
318+
"hidden" : null,
319+
"metadata" : { },
320+
"required" : true,
321+
"name" : "projectId",
322+
"type" : "STRING",
323+
"defaultValue" : null,
324+
"exampleValue" : null,
325+
"label" : "Project ID",
326+
"placeholder" : null,
327+
"controlType" : "TEXT",
328+
"languageId" : null,
329+
"maxLength" : null,
330+
"minLength" : null,
331+
"options" : null,
332+
"optionsDataSource" : null
333+
}, {
334+
"advancedOption" : null,
335+
"description" : "Pinecone index name.",
336+
"displayCondition" : null,
337+
"expressionEnabled" : null,
338+
"hidden" : null,
339+
"metadata" : { },
340+
"required" : true,
341+
"name" : "indexName",
342+
"type" : "STRING",
343+
"defaultValue" : null,
344+
"exampleValue" : null,
345+
"label" : "Index Name",
346+
"placeholder" : null,
347+
"controlType" : "TEXT",
348+
"languageId" : null,
349+
"maxLength" : null,
350+
"minLength" : null,
351+
"options" : null,
352+
"optionsDataSource" : null
353+
} ],
354+
"refreshOn" : null,
355+
"title" : null,
356+
"type" : "CUSTOM",
357+
"acquire" : null,
358+
"pkce" : null,
359+
"apply" : null,
360+
"refresh" : null,
361+
"authorizationCallback" : null,
362+
"scopes" : null,
363+
"authorizationUrl" : null,
364+
"clientId" : null,
365+
"clientSecret" : null,
366+
"oauth2AuthorizationExtraQueryParameters" : null,
367+
"refreshUrl" : null,
368+
"refreshToken" : null,
369+
"tokenUrl" : null
370+
} ],
371+
"properties" : null,
372+
"version" : 1,
373+
"authorizationRequired" : null,
374+
"baseUri" : null,
375+
"test" : null
376+
}
377+
}

0 commit comments

Comments
 (0)