Replies: 1 comment 2 replies
-
🤖 Hello, Based on the context provided, it seems like the issue you're facing might be related to how the In the Here is the relevant code: params = {
"uuid": _id,
"data_object": data_properties,
"class_name": index_name,
}
if embeddings is not None:
params["vector"] = embeddings[i]
batch.add_data_object(**params) To fix this issue, you need to ensure that Alternatively, if you want Weaviate to create the embeddings, make sure Weaviate is installed with a vectorizer module like text2vec-contextionary. You can find more details in the Weaviate class source code. As for your question about I hope this helps! Let me know if you have any other questions. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Pertinent packages:
I'm trying to use Weaviate with the Indexing API. I'm having an issue and was hoping someone might know whether this is a bug or a PEBCAK.
Basically, I setup a weaviate database locally and tried to use the indexing API to populate it. It worked - sort of - but I appear to be missing all of my vector embeddings. When I check the contents of the database I see entries like this:
What's confusing me is the vectorweights. I expected that to be OpenAI embeddings. They were retrieved - i saw the requests and responses coming out of the API - but it looks like they weren't stored.
Here's the code I'm using:
Can anyone see something that I'm doing wrong that would result in the vector weights not being stored? Or have I stumbled across a bug specific to how the indexing API interacts with Weaviate? Any help would be very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions