import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AutoChunkingStrategy, AutoChunkingStrategy$Outbound } from "./autochunkingstrategy.js"; import { StaticChunkingStrategy, StaticChunkingStrategy$Outbound } from "./staticchunkingstrategy.js"; export type CreateVectorStoreFileRequestAttributes = string | boolean | number; /** * The chunking strategy used to chunk the file(s). If not set, will use the auto strategy. */ export type CreateVectorStoreFileRequestChunkingStrategy = AutoChunkingStrategy | StaticChunkingStrategy; /** * Request body for creating a vector store file. */ export type CreateVectorStoreFileRequest = { /** * A File ID that the vector store should use. Useful for tools like file_search that can access files. */ fileId: string; /** * Set of 16 key-value pairs that can be attached to an object. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers. */ attributes?: { [k: string]: string | boolean | number; } | undefined; /** * The chunking strategy used to chunk the file(s). If not set, will use the auto strategy. */ chunkingStrategy?: AutoChunkingStrategy | StaticChunkingStrategy | undefined; }; /** @internal */ export declare const CreateVectorStoreFileRequestAttributes$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileRequestAttributes$Outbound = string | boolean | number; /** @internal */ export declare const CreateVectorStoreFileRequestAttributes$outboundSchema: z.ZodType; export declare function createVectorStoreFileRequestAttributesToJSON(createVectorStoreFileRequestAttributes: CreateVectorStoreFileRequestAttributes): string; export declare function createVectorStoreFileRequestAttributesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateVectorStoreFileRequestChunkingStrategy$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileRequestChunkingStrategy$Outbound = AutoChunkingStrategy$Outbound | StaticChunkingStrategy$Outbound; /** @internal */ export declare const CreateVectorStoreFileRequestChunkingStrategy$outboundSchema: z.ZodType; export declare function createVectorStoreFileRequestChunkingStrategyToJSON(createVectorStoreFileRequestChunkingStrategy: CreateVectorStoreFileRequestChunkingStrategy): string; export declare function createVectorStoreFileRequestChunkingStrategyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateVectorStoreFileRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileRequest$Outbound = { file_id: string; attributes?: { [k: string]: string | boolean | number; } | undefined; chunking_strategy?: AutoChunkingStrategy$Outbound | StaticChunkingStrategy$Outbound | undefined; }; /** @internal */ export declare const CreateVectorStoreFileRequest$outboundSchema: z.ZodType; export declare function createVectorStoreFileRequestToJSON(createVectorStoreFileRequest: CreateVectorStoreFileRequest): string; export declare function createVectorStoreFileRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createvectorstorefilerequest.d.ts.map