You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im on v1.27.9 with a pre-defined schema that uses openAI as the vectorizer. Im trying to perform a small test by providing my own vectors with my objects to ingest so I dont incur any vectorization costs. Im setting my X-OpenAI-Api-Key to just "abc123" because there should be no need to call their API when I provide my own vectors:
However I am getting 401 errors from OpenAI through weaviate saying incorrect API key for every object I'm trying to ingest..
let testObject = {
class: "Document",
vector: randomVector, // 3072 dimension vector copied from a call to text-embedding-3-large
properties: {
...
}
};
const documentCollection = client.collections.get('Document');
let batchObjects = Array(5).fill(testObject);
const response = await documentCollection.data.insertMany(batchObjects);
If I'm not doing something incorrect here, this is very concerning because we have had a system that has been live for a while (and was working at that time) that was using this structure (fetching vectors ourselves) and we would be incurring double costs for vectorization if this is truly broken.
The text was updated successfully, but these errors were encountered:
Hi @adambeer, the expected name of the field when passed to insertMany is vectors as here. Can you confirm whether this is how your production code is defined or whether this is just a typo in your MRE above?
Im on v1.27.9 with a pre-defined schema that uses openAI as the vectorizer. Im trying to perform a small test by providing my own vectors with my objects to ingest so I dont incur any vectorization costs. Im setting my
X-OpenAI-Api-Key
to just "abc123" because there should be no need to call their API when I provide my own vectors:Per the weaviate documentation
However I am getting 401 errors from OpenAI through weaviate saying incorrect API key for every object I'm trying to ingest..
If I'm not doing something incorrect here, this is very concerning because we have had a system that has been live for a while (and was working at that time) that was using this structure (fetching vectors ourselves) and we would be incurring double costs for vectorization if this is truly broken.
The text was updated successfully, but these errors were encountered: