CHANGELOG
Changelog
All notable changes to this project will be documented in this file.
[2.1.3] More data types
Added
- Added OLLAMA_MODEL and OLLAMA_EMBED_MODEL environment variables (https://github.com/weaviate/Verba/pull/372)
- Hiding Getting Started display after showing once
- Added support for csv xlsx xls for the DefaultReader
[2.1.2] Adding Novita!
Added
- Added Novita Generator (https://www.novita.ai/)
- Added basic tests for Document class
Fixed
- spaCy Language Issues (https://github.com/weaviate/Verba/issues/359#issuecomment-2612233766) (https://github.com/weaviate/Verba/issues/352)
[2.1.1] More Bugs!
Added
- Dynamic model name retrieval for OpenAI Generator based on OpenAI URL and API Key (https://github.com/weaviate/Verba/issues/123) (https://github.com/weaviate/Verba/issues/362)
[2.1.0] Fixing Bugs and Adding Friends
Added
- Added Upstage: Reader, Embedder, Generator (https://www.upstage.ai/)
- Added new deployment type: Custom
- Added new port configuration (https://github.com/weaviate/Verba/issues/308)
- Added Groq (https://github.com/weaviate/Verba/pull/278)
- AssemblyAI Reader for audio files (https://github.com/weaviate/Verba/pull/283)
- Language Detection for languages like chinese, english, french, german and dutch (https://github.com/weaviate/Verba/pull/302)
- Improve Markdown Chunking (https://github.com/weaviate/Verba/pull/323)
- Upgrade to latest Weaviate Client
- Added Ollama to Docker Compose
- Added Verba to Docker Hub
- Added default deployment to skip login screen (https://github.com/weaviate/Verba/issues/305)
Fixed
- Catch Exception when trying to access the OpenAI API Embedding endpoint to retrieve model names
- Fixed reading empty string as environment variables (https://github.com/weaviate/Verba/pull/300)
- Fixed default Unstructed URL (https://github.com/weaviate/Verba/pull/295)
- Changed Collection names to prevent conflicts with other older Verba version generated collections
- Ensure Ollama URL is parsed correctly (https://github.com/weaviate/Verba/pull/327)
- Fixing typos (https://github.com/weaviate/Verba/pull/329)
- System Message is now a textarea in the frontend (https://github.com/weaviate/Verba/issues/334)
- Race Condition when multiple requests try to create same client (https://github.com/weaviate/Verba/issues/335)
- Fix wrong data types when querying additional chunks
- Remove legacy code (https://github.com/weaviate/Verba/issues/284)
- Change Python version range below 3.13
- Firecrawl Reader missing metadata (https://github.com/weaviate/Verba/issues/280)
[2.0.0] Importastic
Added
- Async Ingestion with realtime logging
- Migrated to Weaviate v4 Client
- Added new File Selection Interface
- Add Directory Upload
- Control Settings per file/url individually
- Import indivdual files or all
- Overwrite existing files
- Add multiple labels to documents
- More configuration for readers, chunkers, and embedders
- Improved Document Search UI
- Add Config Validation
- Add HTML Reader
- Add Recursive Chunker
- HTML Chunker
- Markdown Chunker
- Code Import
- Code Chunking
- Semantic Chunking
- Label Filter
- Document Filter (Add document to chat)
- Add more themes
- Reworked Admin Interface
- Added Suggestion View
- Reworked Suggestion logic
- Added VoyageAI
- Added custom metadata
- Added DocumentExplorer with
- Content View
- Chunk View
- Vector View
- Visualize vectors of chunks of one or multiple documents
- PCA
-
[1.0.3]
Added
- Cancel Generation Button
- Added .docx support
- Added Documentation for JSON Files
- Added GitLabReader (https://github.com/weaviate/Verba/pull/151)
- Improved HuggingFace Embedding Models thanks to @tomaarsen
- MixedBreadEmbedder
- AllMPNetEmbedder
Fixed
- Check error logs coming from Ollama and send it to the frontend
- Check If Chunks Are NoneType
[1.0.2]
Added
- Readme Variable: OPENAI_BASE_URL
Fixed
- https://github.com/weaviate/Verba/pull/173
- https://github.com/weaviate/Verba/pull/163
- https://github.com/weaviate/Verba/pull/148
[1.0.0] - Beautiful Verba Update
Added
- Added DaisyUI
- Optimized frontend codebase
- Fully Reworked Verba Design
- Fully Responsive, optimized for all screen sizes
- Customization Capabilities
- Added Default, Darkmode, Weaviate themes
- Full text, color, image customization
- Improve Chat Interface
- Better formatting of markdown + code
- Keep conversations saved in localBrowser storage
- Better Debugging by providing more information about current states
- Improve Document Viewer Interface
- Add Pagination
- Add Sorting
- Use Aggregation for Filtering
- Improve Status Overview
- Reworked Frontend + Optimize Code
- Sort status entries
- Improve Loading Speed by using Aggregation
- Improve Component Selection for both Ingestion and RAG
- Added new configuraiton that will be passed between frontend and backend
- Cleaned codebase, merged interfaces and managers to single files
- Added clean endpoints for better code readability
- Reworked on interfaces
- Added better console and logging for ingestion
- More Configuration
- Enable/Disable Caching and Autocomplete Suggestions
- Improved verba_config.json
- Ability to enable/disable caching + autosuggestions
- Add Google Gemini as new Embedder and Generator
- Added .CSV support (all file types available in Unstructured IO)
- More test data
- Add Ollama as Generator and Embedding Component
- Add Support for Cohere R+
- Improved WindowRetriever Context Generation
- Show RAW Context in Frontend + Save in LocalStorage
- Save Settings and Configuration in Weaviate
Changed
- Changed to AppRouter framework
- Changed frontend project structure
- Changed backend project structure
- Removed Llama Generator Component
Fixed
- Using Accelerator Library
[0.4.0] - 11.04.2024
Added
- Improved Docker Documentation
- Improved Docker Settings
- New Environment Variables for OpenAI proxies: OpenAI_BASE_URL (LiteLLM support) (https://github.com/weaviate/Verba/issues/56)
- Increased version
Changed
- Removed spaCy from project
Fixed
- Python not working on version 3.12, 3.11, and 3.9
- GitHub Links on README
- Fix Docker Default Vectorizer (https://github.com/weaviate/Verba/issues/50)
- Fix requirements.txt spelling error
- Minor Bug fixes
[0.3.1] - 15.11.2023
Added
- PDFReader powered by PyPDF2
- TokenChunker powered by tiktoken
- Ruff Linting (set as pre-commit)
- Markdown Formatting for chat messages (https://github.com/weaviate/Verba/issues/48)
Fixed
- Added missing dependencies
- Fixed restart bug
- Fixed MiniLM Cuda to_device bug (https://github.com/weaviate/Verba/issues/41)
- Fixed Config Issues (https://github.com/weaviate/Verba/issues/51)
- Fixed Weaviate Embedded Headers for Cohere
[0.3.0] - 12.09.2023
Added
- Refactor modular architecture
- Add ability to import data through the frontend, CLI, and script
- Add Readers (SimpleReader, PathReader, GithubReader, PDFReader)
- Add Chunkers (WordChunker, SentenceChunker)
- Add Embedders (ADAEmbedder,SentenceTransformer, Cohere)
- Add Generators (GPT3, GPT4, LLama, Cohere)
- Status Page
- Reset functionality
- Streaming Token Generation
- Lazy Document Loading
- Add Copy and Cached Tag
- Improved Semantic Cache
- Added LLama 2 and Cohere support
- Added new OpenAI models
- Improved Documentation
- Added technical docs and contribution guidelines
Fixed
- Error handling for data ingestion (handling chunk size)
- Schmea handling on startup
Changed
- Removed Simple- and AdvancedEngine logic
[0.2.3] - 05.09.2023
Added
- OpenAI API documentation example dataset
[0.2.2] - 31.08.2023
Release!
- First version of Verba released! (many to come :)
Added
- Verba favicon
Fixed
- Add static files to package
- Weaviate Embedded not shutting down
[0.1.0] - 29.08.2023
Added
- Prepare Verba for first release
---
CONTRIBUTING
Verba Contribution Guidelines
Welcome to the Verba community! We're thrilled that you're interested in contributing to the Verba project. Verba is a collaborative open-source project, and we believe that everyone has something unique to contribute. Below you'll find our guidelines which aim to make contributing to Verba a respectful and pleasant experience for everyone.
๐ Community and Open Source
Open source is at the heart of Verba. We appreciate feedback, ideas, and enhancements from the community. Whether you're looking to fix a bug, add a new feature, or simply improve the documentation, your contribution is important to us.
๐ Before You Begin
Before contributing, please take a moment to read through the README and the Technical Documentation. These documents provide a comprehensive understanding of the project and are essential reading to ensure that we're all on the same page. Please note that the technical documentation is a work in progress and will be updated as we progress.
๐ Reporting Issues
If you've identified a bug or have an idea for an enhancement, please begin by creating an Issue. Here's how:
- Check the Issue tracker to ensure the bug or enhancement hasn't already been reported.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Include as much relevant information as possible.
๐ก Ideas and Feedback
We welcome all ideas and feedback. If you're not ready to open an Issue or if you're just looking for a place to discuss ideas, head over to our GitHub Discussions or the Weaviate Support Page.
๐งช Testing
We use pytest for testing. Please note that the tests are WIP and some are missing. We still encourage you to run the tests and add more tests as you see fit.
To run the tests, use the following command:
pytest goldenverba/tests๐ Pull Requests
If you're ready to contribute code or documentation, please submit a Pull Request (PR) to the dev branch. Here's the process:
- Fork the repository and create your branch from main.
- Ensure that your code adheres to the existing code style. Use Black for formatting Python code.
- If you're adding a new feature, consider writing unit tests and documenting the feature.
- Verify that your changes pass existing unit tests
- Make sure your code lints (mypy compatibility is optional but encouraged).
- Include a clear description of your changes in the PR.
- Link to the Issue in your PR description.
๐ Pull Request Process
- PRs are reviewed on a regular basis.
- Engage in the conversation and make requested updates to your PR if needed.
- Once approved, your PR will be merged into the main branch by a maintainer.
๐จ๏ธ Stay Connected
We encourage you to join our community channels. Stay connected, share ideas, and get to know fellow contributors.
Thank you for being a part of Verba. Your contributions not only help improve the project but also the wider community of users and developers.
Happy contributing!
---
README
Verba
## โ ๏ธ Project Discontinued โ Repository Archived
> Verba is no longer in active development. This repository has been archived and will not receive further updates, bug fixes, security patches, or new features. Pull requests and issues will no longer be reviewed or merged.
> The code remains available for reference and forking, but it is provided as-is with no guarantees of stability, compatibility, or support. Existing deployments will continue to function, but users should not expect ongoing maintenance.
> Thank you to everyone who contributed, used, and supported Verba throughout its journey. โค๏ธ
---
The Golden RAGtriever - Community Edition โจ
[](https://weaviate.io/)
[](https://pypi.org/project/goldenverba/) [](https://docs.docker.com/get-started/)
Note: The content below describes Verba as it existed prior to discontinuation. It is preserved for historical and reference purposes only. See the notice above regarding the current status of the project.
Welcome to Verba: The Golden RAGtriever, an community-driven open-source application designed to offer an end-to-end, streamlined, and user-friendly interface for Retrieval-Augmented Generation (RAG) out of the box. In just a few easy steps, explore your datasets and extract insights with ease, either locally with Ollama and Huggingface or through LLM providers such as Anthrophic, Cohere, and OpenAI. This project is built with and for the community, please be aware that it might not be maintained with the same urgency as other Weaviate production applications. Feel free to contribute to the project and help us make Verba even better! <3
pip install goldenverba- Verba
- ๐ฏ What Is Verba?
- โจ Features
- โจ Getting Started with Verba
- ๐ API Keys
- Weaviate
- Ollama
- Unstructured
- AssemblyAI
- OpenAI
- HuggingFace
- Groq
- Novita AI
- Quickstart: Deploy with pip
- Quickstart: Build from Source
- Quickstart: Deploy with Docker
- ๐พ Verba Walkthrough
- ๐ Open Source Contribution
- ๐ฉ Known Issues
- โFAQ
What Is Verba?
Verba is a fully-customizable personal assistant utilizing Retrieval Augmented Generation (RAG) for querying and interacting with your data, either locally or deployed via cloud. Resolve questions around your documents, cross-reference multiple data points or gain insights from existing knowledge bases. Verba combines state-of-the-art RAG techniques with Weaviate's context-aware database. Choose between different RAG frameworks, data types, chunking & retrieving techniques, and LLM providers based on your individual use-case.
Open Source Spirit
โ ๏ธ Update: Verba is discontinued and the repository is archived. The text below reflects the project's prior status and is kept for historical context only โ issues and pull requests are no longer being accepted.
Weaviate is proud to offer this open-source project for the community. While we strive to address issues as fast as we can, please understand that it may not be maintained with the same rigor as production software. We welcome and encourage community contributions to help keep it running smoothly. Your support in fixing open issues quickly is greatly appreciated.
Watch our newest Verba video here:
[](https://www.youtube.com/watch?v=2VCy-YjRRhA&t=40s&ab_channel=Weaviate%E2%80%A2VectorDatabase)
Feature Lists
| ๐ค Model Support | Implemented | Description |
| --------------------------------- | ----------- | ------------------------------------------------------- |
| Ollama (e.g. Llama3) | โ
| Local Embedding and Generation Models powered by Ollama |
| HuggingFace (e.g. MiniLMEmbedder) | โ
| Local Embedding Models powered by HuggingFace |
| Cohere (e.g. Command R+) | โ
| Embedding and Generation Models by Cohere |
| Anthrophic (e.g. Claude Sonnet) | โ
| Embedding and Generation Models by Anthrophic |
| OpenAI (e.g. GPT4) | โ
| Embedding and Generation Models by OpenAI |
| Groq (e.g. Llama3) | โ
| Generation Models by Groq (LPU inference) |
| Novita AI (e.g. Llama3.3) | โ
| Generation Models by Novita AI |
| Upstage (e.g. Solar) | โ
| Embedding and Generation Models by Upstage |
| ๐ค Embedding Support | Implemented | Description |
| -------------------- | ----------- | ---------------------------------------- |
| Weaviate | โ
| Embedding Models powered by Weaviate |
| Ollama | โ
| Local Embedding Models powered by Ollama |
| SentenceTransformers | โ
| Embedding Models powered by HuggingFace |
| Cohere | โ
| Embedding Models by Cohere |
| VoyageAI | โ
| Embedding Models by VoyageAI |
| OpenAI | โ
| Embedding Models by OpenAI |
| Upstage | โ
| Embedding Models by Upstage |
| ๐ Data Support | Implemented | Description |
| -------------------------------------------------------- | ----------- | ---------------------------------------------- |
| UnstructuredIO | โ
| Import Data through Unstructured |
| Firecrawl | โ
| Scrape and Crawl URL through Firecrawl |
| UpstageDocumentParse | โ
| Parse Documents through Upstage Document AI |
| PDF Ingestion | โ
| Import PDF into Verba |
| GitHub & GitLab | โ
| Import Files from Github and GitLab |
| CSV/XLSX Ingestion | โ
| Import Table Data into Verba |
| .DOCX | โ
| Import .docx files |
| Multi-Modal (using AssemblyAI) | โ
| Import and Transcribe Audio through AssemblyAI |
| โจ RAG Features | Implemented | Description |
| ----------------------- | --------------- | ------------------------------------------------------------------------- |
| Hybrid Search | โ
| Semantic Search combined with Keyword Search |
| Autocomplete Suggestion | โ
| Verba suggests autocompletion |
| Filtering | โ
| Apply Filters (e.g. documents, document types etc.) before performing RAG |
| Customizable Metadata | โ
| Free control over Metadata |
| Async Ingestion | โ
| Ingest data asynchronously to speed up the process |
| Advanced Querying | planned โฑ๏ธ | Task Delegation Based on LLM Evaluation |
| Reranking | planned โฑ๏ธ | Rerank results based on context for improved results |
| RAG Evaluation | planned โฑ๏ธ | Interface for Evaluating RAG pipelines |
| Agentic RAG | out of scope โ | Agentic RAG pipelines |
| Graph RAG | out of scope โ | Graph-based RAG pipelines |
| ๐ก๏ธ Chunking Techniques | Implemented | Description |
| ---------------------- | ----------- | ------------------------------------------------------- |
| Token | โ
| Chunk by Token powered by spaCy |
| Sentence | โ
| Chunk by Sentence powered by spaCy |
| Semantic | โ
| Chunk and group by semantic sentence similarity |
| Recursive | โ
| Recursively chunk data based on rules |
| HTML | โ
| Chunk HTML files |
| Markdown | โ
| Chunk Markdown files |
| Code | โ
| Chunk Code files |
| JSON | โ
| Chunk JSON files |
| ๐ Cool Bonus | Implemented | Description |
| ------------------------ | --------------- | ------------------------------------------------------- |
| Docker Support | โ
| Verba is deployable via Docker |
| Customizable Frontend | โ
| Verba's frontend is fully-customizable via the frontend |
| Vector Viewer | โ
| Visualize your data in 3D |
| Multi-User Collaboration | out of scope โ | Multi-User Collaboration in Verba |
| ๐ค RAG Libraries | Implemented | Description |
| ---------------- | ----------- | ---------------------------------- |
| LangChain | โ
| Implement LangChain RAG pipelines |
| Haystack | planned โฑ๏ธ | Implement Haystack RAG pipelines |
| LlamaIndex | planned โฑ๏ธ | Implement LlamaIndex RAG pipelines |
Something is missing? Feel free to create a new issue or discussion with your idea!
---
Getting Started with Verba
You have three deployment options for Verba:
- Install via pip
pip install goldenverba- Build from Source
git clone https://github.com/weaviate/Verbapip install -e .
- Use Docker for Deployment
Prerequisites: If you're not using Docker, ensure that you have Python >=3.10.0,<3.13.0 installed on your system.
git clone https://github.com/weaviate/Verbadocker compose --env-file <your-env-file> up -d --build
If you're unfamiliar with Python and Virtual Environments, please read the python tutorial guidelines.
API Keys and Environment Variables
You can set all API keys in the Verba frontend, but to make your life easier, we can also prepare a .env file in which Verba will automatically look for the keys. Create a .env in the same directory you want to start Verba in. You can find an .env.example file in the goldenverba directory.
Make sure to only set environment variables you intend to use, environment variables with missing or incorrect values may lead to errors.
Below is a comprehensive list of the API keys and variables you may require:
| Environment Variable | Value | Description |
| ---------------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| WEAVIATE_URL_VERBA | URL to your hosted Weaviate Cluster | Connect to your WCS Cluster |
| WEAVIATE_API_KEY_VERBA | API Credentials to your hosted Weaviate Cluster | Connect to your WCS Cluster |
| ANTHROPIC_API_KEY | Your Anthropic API Key | Get Access to Anthropic Models |
| OPENAI_API_KEY | Your OpenAI Key | Get Access to OpenAI Models |
| OPENAI_EMBED_API_KEY | Your OpenAI Key | Use a different endpoint for embeddings |
| OPENAI_BASE_URL | URL to OpenAI instance | Models |
| OPENAI_EMBED_BASE_URL | URL to OpenAI instance | Use a different endpoint for embeddings |
| OPENAI_MODEL | The name of the model to be used when selecting OpenAI as a Generator | Default: the first model in the list returned by the endpoint |
| OPENAI_EMBED_MODEL | The name of the OpenAI embedding model to be used when selecting OpenAI as an Embedder | Default: text-embedding-3-small |
| OPENAI_CUSTOM_EMBED | true \| false | Allow Verba to recognize custom embedding model names (not only OpenAI ones) |
| COHERE_API_KEY | Your API Key | Get Access to Cohere Models |
| GROQ_API_KEY | Your Groq API Key | Get Access to Groq Models |
| NOVITA_API_KEY | Your Novita API Key | Get Access to Novita AI Models |
| OLLAMA_URL | URL to your Ollama instance (e.g. http://localhost:11434 ) | Get Access to Ollama Models |
| UNSTRUCTURED_API_KEY | Your API Key | Get Access to Unstructured Data Ingestion |
| UNSTRUCTURED_API_URL | URL to Unstructured Instance | Get Access to Unstructured Data Ingestion |
| ASSEMBLYAI_API_KEY | Your API Key | Get Access to AssemblyAI Data Ingestion |
| GITHUB_TOKEN | Your GitHub Token | Get Access to Data Ingestion via GitHub |
| GITLAB_TOKEN | Your GitLab Token | Get Access to Data Ingestion via GitLab |
| FIRECRAWL_API_KEY | Your Firecrawl API Key | Get Access to Data Ingestion via Firecrawl |
| VOYAGE_API_KEY | Your VoyageAI API Key | Get Access to Embedding Models via VoyageAI |
| EMBEDDING_SERVICE_URL | URL to your Embedding Service Instance | Get Access to Embedding Models via Weaviate Embedding Service |
| EMBEDDING_SERVICE_KEY | Your Embedding Service Key | Get Access to Embedding Models via Weaviate Embedding Service |
| UPSTAGE_API_KEY | Your Upstage API Key | Get Access to Upstage Models |
| UPSTAGE_BASE_URL | URL to Upstage instance | Models |
| DEFAULT_DEPLOYMENT | Local, Weaviate, Custom, Docker | Set the default deployment mode |
| SYSYEM_MESSAGE_PROMPT | Prompt text value | Default value starts with: "You are Verba, a chatbot for..." |
| OLLAMA_MODEL | Your Ollama Model | Set the default Ollama model to use |
| OLLAMA_EMBED_MODEL | Your Ollama Embedding Model | Set the default Ollama embedding model to use |
Weaviate
Verba provides flexibility in connecting to Weaviate instances based on your needs. You have three options:
1. Local Deployment: Use Weaviate Embedded which runs locally on your device (except Windows, choose the Docker/Cloud Deployment)
2. Docker Deployment: Choose this option when you're running Verba's Dockerfile.
3. Cloud Deployment: Use an existing Weaviate instance hosted on WCD to run Verba
๐ป Weaviate Embedded
Embedded Weaviate is a deployment model that runs a Weaviate instance from your application code rather than from a stand-alone Weaviate server installation. When you run Verba in Local Deployment, it will setup and manage Embedded Weaviate in the background. Please note that Weaviate Embedded is not supported on Windows and is in Experimental Mode which can bring unexpected errors. We recommend using the Docker Deployment or Cloud Deployment instead. You can read more about Weaviate Embedded here.
๐ฉ๏ธ Weaviate Cloud Deployment (WCD)
If you prefer a cloud-based solution, Weaviate Cloud (WCD) offers a scalable, managed environment. Learn how to set up a cloud cluster and get the API keys by following the Weaviate Cluster Setup Guide.
๐ณ Docker Deployment
Another local alternative is deploying Weaviate using Docker. For more details, follow the How to install Verba with Docker section.
โ๏ธ Custom Weaviate Deployment
If you're hosting Weaviate yourself, you can use the Custom deployment option in Verba. This will allow you to specify the URL, PORT, and API key of your Weaviate instance.
Ollama
Verba supports Ollama models. Download and Install Ollama on your device (https://ollama.com/download). Make sure to install your preferred LLM using ollama run <model>.
Tested with llama3, llama3:70b and mistral. The bigger models generally perform better, but need more computational power.
Make sure Ollama Server runs in the background and that you don't ingest documents with different ollama models since their vector dimension can vary that will lead to errors
You can verify that by running the following command
ollama run llama3Unstructured
Verba supports importing documents through Unstructured IO (e.g plain text, .pdf, .csv, and more). To use them you need the UNSTRUCTURED_API_KEY and UNSTRUCTURED_API_URL environment variable. You can get it from Unstructured
UNSTRUCTURED_API_URL is set to https://api.unstructuredapp.io/general/v0/general by defaultAssemblyAI
Verba supports importing documents through AssemblyAI (audio files or audio from video files). To use them you need the ASSEMBLYAI_API_KEY environment variable. You can get it from AssemblyAI
OpenAI
Verba supports OpenAI Models such as Ada, GPT3, and GPT4. To use them, you need to specify the OPENAI_API_KEY environment variable. You can get it from OpenAI
You can also add a OPENAI_BASE_URL to use proxies such as LiteLLM (https://github.com/BerriAI/litellm)
OPENAI_BASE_URL=YOUR-OPENAI_BASE_URLOpenAI Embeddings
To specify a different endpoint for your embeddings, set the OPENAI_EMBED_API_KEY and OPENAI_EMBED_BASE_URL environment variables.
If you are using a custom OpenAI Server for embeddings, ensure you set OPENAI_CUSTOM_EMBED=true. This will allow Verba to recognize custom embedding model names instead of the default OpenAI embedding model names.
HuggingFace
If you want to use the HuggingFace Features, make sure to install the correct Verba package. It will install required packages to use the local embedding models.
Please note that on startup, Verba will automatically download and install embedding models when used.
pip install goldenverba[huggingface]or
pip install .[huggingface]
If you're using Docker, modify theDockerfileaccordingly. It's not possible to install a custom Verba installation if you pull the Docker Image from the Docker Hub, as of now, you'd need to install the Docker deployment from the source code and modify theDockerfilebeforehand.
Groq
To use Groq LPUs as generation engine, you need to get an API key from Groq.
Although you can provide it in the graphical interface when Verba is up, it is recommended to specify it as GROQ_API_KEY environment variable before you launch the application. It will allow you to choose the generation model in an up-to-date available models list.
Novita
To use Novita AI as generation engine, you need to get an API key from Novita AI.
How to deploy with pip
Python >=3.10.0
1. (Very Important) Initialize a new Python Environment
python3 -m virtualenv venv
source venv/bin/activate2. Install Verba
pip install goldenverba3. Launch Verba
verba startYou can specify the --port and --host via flags
4. Access Verba
Visit localhost:80005. (Optional)Create .env file and add environment variables
How to build from Source
1. Clone the Verba repos
git clone https://github.com/weaviate/Verba.git2. Initialize a new Python Environment
python3 -m virtualenv venv
source venv/bin/activate3. Install Verba
pip install -e .4. Launch Verba
verba startYou can specify the --port and --host via flags
5. Access Verba
Visit localhost:80006. (Optional) Create .env file and add environment variables
How to install Verba with Docker
Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages called containers. To get started with deploying Verba using Docker, follow the steps below. If you need more detailed instructions on Docker usage, check out the Docker Curriculum.
You can use docker pull semitechnologies/verba to pull the latest Verba Docker Image. Please note, that by pulling directly from Docker Hub you're only able to install the vanilla Verba version that does not include packages e.g HuggingFace. If you want to use Docker and HuggingFace please follow the steps below.
To build the image yourself, you can clone the Verba repository and run docker build -t verba . inside the Verba directory.
0. Clone the Verba repos
Ensure you have Git installed on your system. Then, open a terminal or command prompt and run the following command to clone the Verba repository:
git clone https://github.com/weaviate/Verba.git1. Set necessary environment variables
Make sure to set your required environment variables in the .env file. You can read more about how to set them up in the API Keys Section
2. Adjust the docker-compose file
You can use the docker-compose.yml to add required environment variables under the verba service and can also adjust the Weaviate Docker settings to enable Authentification or change other settings of your database instance. You can read more about the Weaviate configuration in our docker-compose documentation. You can also uncomment the ollama service to use Ollama within the same docker compose.
Please make sure to only add environment variables that you really need.
2. Deploy using Docker
With Docker installed and the Verba repository cloned, navigate to the directory containing the Docker Compose file in your terminal or command prompt. Run the following command to start the Verba application in detached mode, which allows it to run in the background:
docker compose up -ddocker compose --env-file goldenverba/.env up -d --buildThis command will download the necessary Docker images, create containers, and start Verba.
Remember, Docker must be installed on your system to use this method. For installation instructions and more details about Docker, visit the official Docker documentation.
4. Access Verba
- You can access your local Weaviate instance at localhost:8080
- You can access the Verba frontend at localhost:8000
If you want your Docker Instance to install a specific version of Verba you can edit the Dockerfile and change the installation line.
RUN pip install -e '.'Verba Walkthrough
Select your Deployment
The first screen you'll see is the deployment screen. Here you can select between Local, Docker, Weaviate Cloud, or Custom deployment. The Local deployment is using Weaviate Embedded under the hood, which initializes a Weaviate instance behind the scenes. The Docker deployment is using a separate Weaviate instance that is running inside the same Docker network. The Weaviate Cloud deployment is using a Weaviate instance that is hosted on Weaviate Cloud Services (WCS). The Custom deployment allows you to specify your own Weaviate instance URL, PORT, and API key.
You can skip this part by setting the DEFAULT_DEPLOYMENT environment variable to Local, Docker, Weaviate, or Custom.
Import Your Data
First thing you need to do is to add your data. You can do this by clicking on Import Data and selecting either Add Files, Add Directory, or Add URL tab. Here you can add all your files that you want to ingest.
You can then configure every file individually by selecting the file and clicking on Overview or Configure tab.
Query Your Data
With Data imported, you can use the Chat page to ask any related questions. You will receive relevant chunks that are semantically relevant to your question and an answer generated by your choosen model. You can configure the RAG pipeline under the Config tab.
Open Source Contribution
Your contributions are always welcome! Feel free to contribute ideas, feedback, or create issues and bug reports if you find any! Before contributing, please read the Contribution Guide. Visit our Weaviate Community Forum if you need any help!
Project Architecture
You can learn more about Verba's architecture and implementation in its technical documentation and frontend documentation. It's recommended to have a look at them before making any contributions.
Known Issues
- Weaviate Embeeded currently not working on Windows yet
- Will be fixed in future versions, until then please use the Docker or WCS Deployment
FAQ
- Can I use pre-existing data from my Weaviate instance?
- No, unfortunatley not. Verba requires the data to be in a specific format to work. And as of now, this is only possible by importing data through the Verba UI.
- Is Verba Multi-Lingual?
- This depends on your choosen Embedding and Generation Model whether they support multi-lingual data.
- Can I use my Ollama Server with the Verba Docker?
- Yes, you can! Make sure the URL is set to: OLLAMA_URL=http://host.docker.internal:11434
- If you're running on Linux, you might need to get the IP Gateway of the Ollama server: OLLAMA_URL="http://YOUR-IP-OF-OLLAMA:11434"
- How to clear Weaviate Embedded Storage?
- You'll find the stored data here: ~/.local/share/weaviate
- How can I specify the port?
- You can use the port and host flag verba start --port 9000 --host 0.0.0.0
- Can multiple users use Verba at the same time? How about role based access?
- Verba is designed and optimized for single user usage only. There are no plans on supporting multiple users or role based access in the near future.
- Does Verba offer a API endpoint to use externally?
- No, right now Verba does not offer any useful API endpoints to interact with the application. The current FastAPI setup is optimized for the internal communication between the frontend and backend. It is not recommended to use it as a API endpoint. There are plans to add user-friendly
- How to connect to your custom OpenAI Server?
- Set your custom OpenAI API Key and URL in the .env file, this will allow Verba to start up and retrieve the models from your custom OpenAI Server. OPENAI_BASE_URL is set to https://api.openai.com/v1 by default.
- You can also set a different endpoint for your embeddings by configuring the OPENAI_EMBED_API_KEY and OPENAI_EMBED_BASE_URL environment variables and setting OPENAI_CUSTOM_EMBED=true. For more details, see OpenAI Embeddings.
- How to upload custom JSON files to Verba?
- Right now Verba does not support custom JSON structure. Instead the whole JSON will simply be dumped into the content field of the Verba document. You can read more about the Verba JSON Structure in the Technical Documentation here.
---