by weaviate ยท v0.0.1
Build Dify applications using Weaviate for Vector, Generative search and more
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
A comprehensive Dify plugin that provides seamless integration with Weaviate vector database, enabling powerful vector search, data management, and text embedding capabilities.
Search for similar vectors in your collections:
{
"collection_name": "MyCollection",
"query_vector": "0.1,0.2,0.3,...",
"limit": 10,
"where_filter": "{\"path\": [\"category\"], \"operator\": \"Equal\", \"valueText\": \"AI\"}"
}
Combine vector and keyword search:
{
"collection_name": "MyCollection",
"query": "artificial intelligence",
"query_vector": "0.1,0.2,0.3,...",
"alpha": 0.7,
"limit": 10
}
Perform BM25 keyword search:
{
"collection_name": "MyCollection",
"query": "machine learning algorithms",
"limit": 10,
"search_properties": "title,content"
}
RAG-powered search with LLM responses:
{
"collection_name": "MyCollection",
"query": "What are the benefits of AI?",
"query_vector": "0.1,0.2,0.3,...",
"limit": 5,
"llm_provider": "openai",
"llm_model": "gpt-3.5-turbo"
}
Natural language query interface:
{
"query": "Show me all documents about machine learning",
"collection_name": "MyCollection",
"max_results": 10
}
Insert, update, delete, or retrieve objects:
{
"operation": "insert",
"collection_name": "MyCollection",
"object_data": "{\"text\": \"Hello World\", \"category\": \"greeting\"}"
}
Create and manage collection schemas:
{
"operation": "create_collection",
"collection_name": "MyCollection",
"properties": "[{\"name\": \"text\", \"data_type\": \"TEXT\"}, {\"name\": \"category\", \"data_type\": \"TEXT\"}]"
}
weaviate_plugin/
โโโ _assets/ # Plugin icons
โโโ models/
โ โโโ text_embedding/ # Text embedding model
โโโ provider/ # Provider configuration
โโโ tools/ # Tool implementations
โ โโโ vector_search.py # Vector similarity search
โ โโโ hybrid_search.py # Hybrid search
โ โโโ keyword_search.py # BM25 keyword search
โ โโโ generative_search.py # RAG-powered search
โ โโโ query_agent.py # Natural language query agent
โ โโโ data_management.py # CRUD operations
โ โโโ schema_management.py # Schema operations
โโโ utils/ # Utility functions
โ โโโ client.py # Weaviate client
โ โโโ validators.py # Input validation
โ โโโ helpers.py # Helper functions
โโโ main.py # Plugin entry point
โโโ manifest.yaml # Plugin manifest
โโโ requirements.txt # Dependencies
The plugin includes comprehensive error handling for:
To extend the plugin:
tools/ directorymain.pyThis plugin is provided by Weaviate for integration with Dify.
Author: weaviate Version: 0.0.1 Type: tool
Source code: https://github.com/weaviate/Dify-Weaviate-Plugin