Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).
Request body which must comply to the following JSON Schema:
{ "required" : [ "file_id" ], "type" : "object", "properties" : { "file_id" : { "type" : "string", "description" : "A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files." }, "chunking_strategy" : { "type" : "object", "description" : "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.", "oneOf" : [ { "title" : "Auto Chunking Strategy", "required" : [ "type" ], "type" : "object", "properties" : { "type" : { "type" : "string", "description" : "Always `auto`.", "enum" : [ "auto" ] } }, "additionalProperties" : false, "description" : "The default strategy. This strategy currently uses a `max_chunk_size_tokens` of `800` and `chunk_overlap_tokens` of `400`." }, { "title" : "Static Chunking Strategy", "required" : [ "static", "type" ], "type" : "object", "properties" : { "type" : { "type" : "string", "description" : "Always `static`.", "enum" : [ "static" ] }, "static" : { "required" : [ "chunk_overlap_tokens", "max_chunk_size_tokens" ], "type" : "object", "properties" : { "max_chunk_size_tokens" : { "maximum" : 4096, "minimum" : 100, "type" : "integer", "description" : "The maximum number of tokens in each chunk. The default value is `800`. The minimum value is `100` and the maximum value is `4096`." }, "chunk_overlap_tokens" : { "type" : "integer", "description" : "The number of tokens that overlap between chunks. The default value is `400`.\n\nNote that the overlap must not exceed half of `max_chunk_size_tokens`.\n" } }, "additionalProperties" : false } }, "additionalProperties" : false } ], "x-oaiExpandable" : true } }, "additionalProperties" : false }
Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension OpenAI Nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.