Skip to main content
OpenViking uses JSON configuration files to manage settings for embedding models, storage backends, server deployment, and more.

Configuration Files

OpenViking uses two config files:
When config files are at the default path, OpenViking loads them automatically — no additional setup needed.
If config files are at a different location:

Quick Start Configuration

Create ~/.openviking/ov.conf:

Embedding Configuration

Embedding models convert text and multimodal content into vectors for semantic search.

Dense Embedding

Parameters
Recommended models:
  • doubao-embedding-vision-250615 (1024 dim, multimodal)
  • doubao-embedding-250615 (1024 dim, text only)
Available models:
  • jina-embeddings-v5-text-small: 677M params, 1024 dim, max seq 32768
  • jina-embeddings-v5-text-nano: 239M params, 768 dim, max seq 8192
Get your API key at jina.ai. Jina models support local deployment via GGUF/MLX.

Hybrid Embedding

Combine dense and sparse embeddings for better retrieval:

VLM Configuration

Vision Language Models generate semantic abstracts (L0) and overviews (L1) for resources.
Parameters
If VLM is not configured, L0/L1 will be generated from content directly (less semantic), and multimodal resources may have limited descriptions.

Storage Configuration

Configure file storage (AGFS) and vector database backends.

AGFS Backend

S3 Parameters

Vector Database Backend

Server Configuration

When running OpenViking as an HTTP service, add a server section:
When root_api_key is not set, authentication is disabled (dev mode). This is only allowed when binding to localhost (127.0.0.1).

CLI Client Configuration

Create ~/.openviking/ovcli.conf for the HTTP client and CLI:

Advanced Configuration

Code Summary Mode

Control how code files are summarized:

Reranking

Reranking improves search result quality:

Logging

Troubleshooting

Check your API key is correct and has the required permissions.
Ensure the dimension in config matches the model’s output dimension.
  • Check network connectivity
  • Increase timeout in config
  • Try a smaller model

Deployment

Server deployment and production setup

Authentication

API key setup and multi-tenant auth

Python SDK

Complete Python SDK reference

CLI Usage

Command-line interface guide