Questions tagged [weaviate]

Weaviate is an open source vector database that stores both objects and vectors, allowing for combining vector search with structured filtering and CRUD operations. It supports modules such as creating embeddings or generating responses via OpenAI, and is accessible through GraphQL, REST, and various language clients.

Homepage: weaviate.io

116 questions
1
vote
1 answer

Running Scibert on GPU

I built a docker image for Scibert for CPU according to instruction here: https://www.semi.technology/developers/weaviate/current/modules/text2vec-transformers.html#option-3-custom-build-with-a-private-or-local-model Here the docker file: FROM…
1
vote
1 answer

Omitting Weaviate Objects Containing Specific Reference

Suppose I have a database of movies with some genres tagged to it. My Weaviate schema looks like this: "classes": [{ "class": "Movie", "properties": [{ "name": "name", "dataType": ["string"], }, { "name": "inGenres", …
lee.jwsh
  • 11
  • 2
1
vote
0 answers

How to use old schema of weaviate in haystack?

I want to use weaviate as a database for haystack using: from haystack.document_store import WeaviateDocumentStore document_store = WeaviateDocumentStore(port= "", host="", username="", password="", index="document") But each time it creates a new…
helpdoc
  • 1,910
  • 14
  • 36
1
vote
2 answers

CRUD support for list of Dicts

My goal is to add Weaviate support to the pyLodStorage project Specifically I'd like to use the sample data from: https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/sample.py Which has a few records of Persons from the Royal…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
vote
0 answers

What is the performance of the Weaviate Automatic Classification process?

I would like to investigate the possibility for enriching Splunk ingested data by using the Weaviate Automatic Classification in the streaming ingestion pipeline. This can only work if the Automatic Classification process will only have a minor…
1
vote
1 answer

Issues while deploying Weaviate on AKS (Azure Kubernetes Service)

I am trying to deploy Weaviate on Azure Kubernetes Service. During the helm deployment run into a problem where I get the following error message: Multi-Attach error for volume "pvc-69db6155-4f28-11ea-b829-b2b3d6f12b6f" Volume is already exclusively…
Jeroen
  • 66
  • 2
1
vote
1 answer

Problem with classification, POST to classifications results in error

If I try to start a classification I receive the error message: "message": "invalid classification: basedOnProperties: property 'title' must be of type 'text'" I am running 0.22.0 The property is of the type string, I didn't know of types that are…
1
vote
1 answer

Choosing the right name for properties in schema for Weaviate

When loading my schema into Weaviate, I get an error message that the property name can not be found in the contextionary. Some of the properties I need are abbreviations. This is the schema item it is complaining about: { "cardinality":…
1
vote
1 answer

How to make a cross reference to another object in Weaviate?

How do I make a cross-reference to another thing in Weaviate? I tried the code below, but I get an error message (also below) weaviateObj = { "class": "Article", "schema": { "articleTitle": articlemeta.title, "publisherId":…
1
vote
1 answer

How to access the Playground GUI?

What would be the url to access the Playground GUI in weaviate? I would like to explore and visualize some GraphQL queries. I have read the playground documentation/readme but that does not specify how to access the GUI.
0
votes
1 answer

Error "'tuple' object has no attribute 'page_content'" when using Weaviate.add_documents

I have the following piece of code: if file.filename.lower().endswith('.pdf'): pdf = ep.PDFLoad(file_path) # this is the loader from langchain doc = pdf.load() archivo =…
Gonzapepe
  • 1
  • 1
0
votes
1 answer

How to add a property to existing class definition with default value in Weaviate?

The documentation on how to update an existing class to add a new property is clear in Weaviate documentation: REST - /v1/schema | Weaviate - vector database However, what if I wanted to add a property with a default value and make this skipped for…
junbetterway
  • 236
  • 3
  • 13
0
votes
1 answer

Is it impossible to paginate filtered results with the Weaviate vector DB?

Query Filter Works Using Weaviate's query filtering works fine, e.g. from their tutorial: response = ( client.query .get("JeopardyQuestion", ["question", "answer", "round"]) .with_where({ "path": ["round"], "operator":…
kdbanman
  • 10,161
  • 10
  • 46
  • 78
0
votes
0 answers

Is it possible to pass additional HTTP headers along with Weaviate module requests using the python client?

Is it possible to force a Weaviate module to pass additional headers along with requests? e.g. we can initialize the python weaviate client with additional_headers client = weaviate.Client( '', …
kdbanman
  • 10,161
  • 10
  • 46
  • 78
0
votes
0 answers

Weaviate is not automatically creating a schema

`Map dataSchema = new HashMap<>(); dataSchema.put("labelName", "Images"); dataSchema.put("image", encodedString); Result result = client.data().creator() .withClassName("Test") …