| title | Frequently Asked Questions | ||||||
|---|---|---|---|---|---|---|---|
| description | Common questions and quick answers about Vector Bot | ||||||
| audience | all | ||||||
| level | beginner | ||||||
| keywords |
|
||||||
| related_docs |
|
Quick answers to the most common questions about Vector Bot.
A: You need:
- Ollama installed and running
- At least one AI model (like
llama3.1) - The embedding model (
nomic-embed-text) - Vector Bot installed via npm, pip, or executable
# Quick setup
ollama pull llama3.1
ollama pull nomic-embed-text
npm install -g @joshuaramirez/vector-botA: For most users, npm is recommended:
- npm: Best for most users, easiest updates
- pip: Good for Python developers
- Executable: Good for single-file deployment
- Source: For developers and contributors
A: Yes! After initial setup, Vector Bot works 100% offline with no internet connection required.
A: Vector Bot runs on:
- Windows 10/11
- macOS 10.14+ (Intel and Apple Silicon)
- Linux (Ubuntu 18.04+, CentOS 7+, or equivalent)
A: Run the health check command:
vector-bot doctorYou should see all checkmarks (✓) for Ollama server, models, and configuration.
A: Supported formats:
- PDF files (
.pdf) - Text files (
.txt) - Markdown files (
.md) - JSON files (
.json) - CSV files (
.csv)
A: Simple! Just copy files to your docs folder:
mkdir docs
cp your-files.pdf docs/
vector-bot ingestA: Yes, run vector-bot ingest after adding new documents. It's safe to run multiple times.
A: Use the query command:
vector-bot query "What are the main topics in these documents?"
vector-bot query "How do I configure the API?" --show-sourcesA: Vector Bot isn't installed or not in PATH:
If installed via npm:
npm install -g @joshuaramirez/vector-botIf using executable:
- Use full path:
/path/to/vector-bot --version - Or add to PATH
A: Start Ollama:
ollama serveThen test: curl http://localhost:11434/api/tags
A: Install an AI model:
ollama pull llama3.1
# Or: ollama pull mistral, llama3.2, qwen2.5A: Install the embedding model:
ollama pull nomic-embed-textA: Check your document directory:
ls docs/ # Should show your files
# If empty, add files: cp *.pdf docs/A: Build the index first:
vector-bot ingestA: Recommendations by use case:
- General use:
llama3.1(good balance) - Latest features:
llama3.2 - Speed priority:
mistral - Coding tasks:
codellama
# Set your preferred model
export OLLAMA_CHAT_MODEL=llama3.1A: Several options:
- Use fewer context chunks:
--k 2 - Use a faster model:
OLLAMA_CHAT_MODEL=mistral - Reduce document size (split large files)
- Use SSD storage for index
A: Try these approaches:
- Use more context:
--k 8 - Be more specific in questions
- Use keywords from your documents
- Check sources:
--show-sources
A: Files over 20MB are automatically skipped. Solutions:
- Split large PDFs into smaller files
- Extract key sections manually
- Convert to text format if possible
A: Set the DOCS_DIR variable:
export DOCS_DIR=~/my-documents
# Or create .env file with: DOCS_DIR=~/my-documentsA: Yes, set the URL:
export OLLAMA_BASE_URL=http://192.168.1.100:11434A: Use the config info command:
vector-bot --config-infoA: Use project-specific .env files:
# Project A
cd project-a
echo "DOCS_DIR=./project-a-docs" > .env
echo "OLLAMA_CHAT_MODEL=llama3.1" >> .env
# Project B
cd ../project-b
echo "DOCS_DIR=./project-b-docs" > .env
echo "OLLAMA_CHAT_MODEL=mistral" >> .envA: Yes! Vector Bot:
- Runs entirely on-premises
- Makes no external network calls
- Supports enterprise deployment patterns
- Can integrate with existing infrastructure
A: Backup your documents, not the index:
# Backup documents (important)
tar -czf my-docs-backup.tar.gz docs/
# Index can be rebuilt
rm -rf index_storage/
vector-bot ingestA: Yes, use different directories:
# Instance 1
DOCS_DIR=./project1/docs INDEX_DIR=./project1/index vector-bot ingest
# Instance 2
DOCS_DIR=./project2/docs INDEX_DIR=./project2/index vector-bot ingestA: Several approaches:
- Command line: Call via subprocess
- REST wrapper: Create HTTP API wrapper
- Direct integration: Use the Python package
Example Python integration:
import subprocess
result = subprocess.run(['vector-bot', 'query', 'question'],
capture_output=True, text=True)
answer = result.stdoutA: Yes! Vector Bot is designed for privacy:
- All processing happens locally
- No data sent to external services
- No telemetry or tracking
- You control all data and models
A: Depends on installation method:
npm:
npm update -g @joshuaramirez/vector-botpip:
pip install --upgrade vector-botExecutable: Download new version from releases page
A: Vector Bot can't reach Ollama in time:
- Check if Ollama is running:
ollama serve - Increase timeout:
export REQUEST_TIMEOUT=120 - Check network connectivity
A: File or directory permission issue:
# Make executable (Linux/macOS)
chmod +x vector-bot
# Fix directory permissions
chmod -R +r docs/
chmod -R +w index_storage/A: The AI model couldn't load:
- Check available memory (models need several GB)
- Try a smaller model:
export OLLAMA_CHAT_MODEL=llama3.1 - Restart Ollama:
ollama serve
A: Check these resources:
For specific problems:
- Troubleshooting Guide - Step-by-step problem solving
For learning:
- Getting Started - First-time setup
- Basic Usage - Daily workflows
- Examples - Real-world use cases
For configuration:
- Basic Configuration - Essential settings
- Configuration Variables - Complete reference
For advanced users:
- Advanced Features - Power user capabilities
- Admin Configuration - Enterprise deployment
A: Check the project documentation for contribution guidelines:
A: Check the project repository for:
- Issues and discussions
- Community contributions
- Latest updates and releases
vector-bot doctor # Check system health
vector-bot ingest # Index documents
vector-bot query "your question" # Ask questions
vector-bot --config-info # Show configurationDOCS_DIR=./documents # Document location
OLLAMA_CHAT_MODEL=llama3.1 # AI model to use
SIMILARITY_TOP_K=4 # Context chunks
OLLAMA_BASE_URL=http://localhost:11434 # Ollama server- Run
vector-bot doctorfirst - Check if Ollama is running:
ollama serve - Verify models are installed:
ollama list - Confirm documents exist:
ls docs/ - Build index if needed:
vector-bot ingest
Can't find your question? Check the Troubleshooting Guide or Glossary for more detailed information.