I would like to create a semantic context for my data before vectorizing the actual data in Weaviate (https://github.com/semi-technologies/weaviate). Lets say we have a taxonomy where we have a set of domain specific concepts together with links to their related concepts. Could you advise me what the best way is to encode not only those concepts but also relations between them using contextionary?
How to encode a taxonomy in Weaviate contextionary
286 views Asked by Ali Khalili At
1
There are 1 answers
Related Questions in SEARCH
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Hospital route finding ai project
- tryin to write a function that searches for SSN in a dict, and if that SSN is found, to retrieve all the data associated with that SSN
- How the search filter from search bar works in mern?
- Angular application loading weirdly when I add "/" at the end of URL
- Elastic python to extract last 1hr tracing
- How to detect if two sentences are simmilar, not in meaning, but in syllables/words?
- I need to have a look at all my private pine scripts and filter the scripts for certain words in TRADINGVIEW
- What is correct URL? {'quandl_error': {'code': 'QECx01', 'could not recognize URL: /api/v3/databases/WIKI/search. Please check URL and try again.'}
- Solr 9 punctuation issue
- Autocomplete search filter not working for dynamically added input fields in angular
- How to correct call API search request with debounce?
- Search in GDrive only the first 5 topics
- How do I use sp/pnp sp.search to find all Associated sites when querying a hub site Id
- How to apply custom analyzers on a field in Vespa schema
Related Questions in TAXONOMY
- How to retrieve taxonomy term name in url instead of id in a drupal view?
- How do I combine to RDS files having both common and different column names?
- How to document that a name of a variable can be different in another taxonomy?
- Calculate the proportion of bacteria and protein in R (R-beginner question)
- Assigning Posts to Tags
- How to create custom taxonomy page? or custom archive page of custom taxonomy?
- Display single post for each custom post type tag
- Filter Posts with Elementor Query ID based on user profile information
- Automatically add category to post for each user on wordpress site
- Grouping posts by 2 different taxonomies
- Wordpress query posts by ACF of taxonomy of post (not ACF of post)
- Function to show if taxonomy term is used in post
- How to get custom taxomony from post-meta in Woocommerce?
- Show Post based on taxonomies choosen by the user
- Wordpress: Render 2 terms in a taxonomy page
Related Questions in WEAVIATE
- Weaviate Cloud Service (WCS) Pricing
- Handling Varying Vector Sizes in Weaviate Indexing: Ensuring Consistency and Error Prevention
- Connect to Weaviate Database results in Key Error
- Migrate references from one collection to other in weaviate
- Weaviate cloud exceptions error: WeaviateStartUpError
- Failed while setting weaviate vector db Multi node cluster using docker swarm on 2 VMs
- Is it possible to filter objects in Weaviate based on an operator that compares two properties?
- Weaviate Gives Rate Limit Error while adding objects
- How to find similar words in Weaviate database
- Spring AI similarity search fails with Weaviate vector store
- tls: failed to verify certificate: x509: certificate signed by unknown authority when I use text2vec-openai module in weaviate docker container
- Weaviate Delete Batch Failing with Single ID Mapping Error
- How can I improve security for Weaviate in local environment?
- Edit weaviate modules once it's running on AWS
- Over Memory consumption of Weaviate
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Depending on your use case, there are a few answers possible.
The first is the easiest and straightforward one, the last one is the most esoteric.
Create a schema and use a vectorizer for your data
In your case, you would create a schema based on your taxonomy and load the data using an out-of-the-box vectorizer (this configurator helps you to build a Docker-compose file).
I would recommend starting with this anyway, because it will determine your data model and how you can search through and/or classify data. It might even be the case that for your use case this step already solves the problem because the out-of-the-box vectorizers are (bias alert) pretty decent.
Domain-specific concepts
At the moment of writing, Weaviate has two vectorizers, the contextionary and the transformers modules.
If you want to extend Weaviate with custom context, you can extend the contextionary or fine tune and distribute custom transformers.
If you do this, I would highly recommend still taking the first step. Because it will simply improve the results.
Capture semantic context of your graph
I don't think this is what you want, but it possible and quite esoteric. In principle, you can store your vectorized graph in Weaviate, but you need to generate the vectors on your own. For example, at the moment of writing, we are looking at RDF2Vec.
PS:
Because people often ask about the role of ontologies and taxonomies in Weaviate, I've written this blog post.