brain

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package brain is deduction search over Ladybug (FTS + HNSW). Query/embed code that needs cgo lives behind the system_ladybug tag.

YAML emitter ported from bin/kb/yamlout.py — preserves insertion order.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

type Dict []KV

Dict is an ordered map (slice of KV).

type Hit

type Hit = rank.Hit

Hit is the search hit type; ranking lives in package rank so CI can test it without the native ladybug library.

type KV

type KV struct {
	K string
	V any
}

KV is an ordered key-value pair for maps.

Directories

Path Synopsis
Package rank is the cgo-free ranking and CLI parsing for brain search.
Package rank is the cgo-free ranking and CLI parsing for brain search.

Jump to

Keyboard shortcuts

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