/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: a61605b53401
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const EmbeddingResponseData$inboundSchema = z.object({
    object: z.string().optional(),
    embedding: z.array(z.number()).optional(),
    index: z.int().optional(),
});
export function embeddingResponseDataFromJSON(jsonString) {
    return safeParse(jsonString, (x) => EmbeddingResponseData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EmbeddingResponseData' from JSON`);
}
//# sourceMappingURL=embeddingresponsedata.js.map