Last active
October 10, 2023 07:52
-
-
Save rennokki/bde0f4576eca82c20d04b107dd5c67b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a smol embedding; CloudflareWorkersAIEmbeddings is provided by langchain | |
function setupEmbeddings(env: Env): CloudflareWorkersAIEmbeddings { | |
return new CloudflareWorkersAIEmbeddings({ | |
binding: env.AI as unknown as Fetcher, | |
modelName: '@cf/baai/bge-small-en-v1.5', | |
stripNewLines: true, | |
onFailedAttempt: (error) => { | |
console.log('Failed attempt on embed', error); | |
} | |
}); | |
}; | |
// CloudflareVectorizeStore is provided by langchain | |
function vectorStorage(env: Env): CloudflareVectorizeStore { | |
return new CloudflareVectorizeStore(setupEmbeddings(env), { | |
index: env.V1_VECTORIZE, // index | |
onFailedAttempt: (error) => { | |
console.log('Failed attempt on vectorize', error); | |
}, | |
}); | |
}; | |
// Just a wiki article, tried to find smth small | |
const content = 'https://en.wikipedia.org/wiki/Attiki,_Athens'; | |
// Get the Cheerio Web Loader and split docs | |
const rawDocs = await new CheerioWebBaseLoader(content as string).load(); // tried loadAndSplit() too | |
// HTML -> Docs splitter | |
const splitter = RecursiveCharacterTextSplitter.fromLanguage('html'); | |
const sequence = splitter.pipe(new HtmlToTextTransformer()); | |
// Make the sequence pass through HtmlToTextTransformer() to get the final docs | |
const documents = await sequence.invoke(rawDocs); | |
// This call triggers the error. | |
await vectorStorage(env).addDocuments(documents); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script modified; context reset. | |
Script modified; context reset. | |
Failed attempt on vectorize Error: VECTOR_UPSERT_ERROR (code = 4006): Bad Request: Request body JSON schema is invalid; [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
Uncaught (in promise) Error: VECTOR_UPSERT_ERROR (code = 4006): Bad Request: Request body JSON schema is invalid; [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
_send @ cloudflare-internal:vectorize-api:109 | |
Uncaught (in response) Error: VECTOR_UPSERT_ERROR (code = 4006): Bad Request: Request body JSON schema is invalid; [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
0, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
1, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
2, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
3, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
4, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
5, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
6, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
7, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
8, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
9, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
10, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
11, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
12, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
13, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
14, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
15, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
16, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
17, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
18, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
19, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
20, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
21, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
}, | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_union", | |
"unionErrors": [ | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "string", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected string, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "number", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected number, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "boolean", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected boolean, received object" | |
} | |
], | |
"name": "ZodError" | |
}, | |
{ | |
"issues": [ | |
{ | |
"code": "invalid_type", | |
"expected": "array", | |
"received": "object", | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Expected array, received object" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc", | |
"lines" | |
], | |
"message": "Invalid input" | |
} | |
], | |
"name": "ZodError" | |
} | |
], | |
"path": [ | |
"vectors", | |
22, | |
"metadata", | |
"loc" | |
], | |
"message": "Invalid input" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment