Class ToolResources.FileSearch.VectorStore.Builder
java.lang.Object
io.github.stefanbratanov.jvm.openai.ToolResources.FileSearch.VectorStore.Builder
- Enclosing class:
- ToolResources.FileSearch.VectorStore
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileIds
- Parameters:
fileIds
- A list of file IDs to add to the vector store.
-
chunkingStrategy
public ToolResources.FileSearch.VectorStore.Builder chunkingStrategy(ChunkingStrategy chunkingStrategy) - Parameters:
chunkingStrategy
- The chunking strategy used to chunk the file(s)
-
metadata
- Parameters:
metadata
- Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format.
-
build
-