config

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config holds all configuration for notebrain-cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// ChromaPath is the local directory where ChromaDB stores its data.
	ChromaPath string
	// ChromaMode selects persistent (embedded) or http (standalone server).
	ChromaMode string // "persistent" | "http"
	// ChromaURL is used when ChromaMode == "http".
	ChromaURL string
	// VaultName for Obsidian CLI targeting.
	VaultName string
	// Embedder type: "minilm" or "ollama"
	Embedder     string
	OllamaURL    string
	OllamaModel  string
	ChunkSize    int
	ChunkOverlap int
	Limit        int
	Verbose      bool
}

Config holds all configuration for notebrain-cli.

func Default

func Default() *Config

Default returns a Config with sensible defaults.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL