Documentation
¶
Overview ¶
Package services is the Go module root for go-second-brain.
Import public SDK packages from github.com/eSlider/go-second-brain/services/pkg/... Reference apps live under github.com/eSlider/go-second-brain/services/cmd/...
See README.md and https://pkg.go.dev/github.com/eSlider/go-second-brain/services
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
assistant
command
|
|
|
bot
command
Command bot connects to Matrix and answers with RAG over the knowledge base.
|
Command bot connects to Matrix and answers with RAG over the knowledge base. |
|
ingestor
command
Command ingestor walks DOCS_ROOT (Markdown corpus), updates Neo4j and Qdrant.
|
Command ingestor walks DOCS_ROOT (Markdown corpus), updates Neo4j and Qdrant. |
|
internal
|
|
|
config
Package config aggregates per-domain [*pkg/*/Config] blobs and loads YAML + environment into them.
|
Package config aggregates per-domain [*pkg/*/Config] blobs and loads YAML + environment into them. |
|
graph
Package graph writes and reads the knowledge graph in Neo4j.
|
Package graph writes and reads the knowledge graph in Neo4j. |
|
idkind
Package idkind classifies stable document and entity IDs from paths and text.
|
Package idkind classifies stable document and entity IDs from paths and text. |
|
rag
Package rag orchestrates retrieval and generation.
|
Package rag orchestrates retrieval and generation. |
|
pkg
|
|
|
assist
Package assist configures local assistant audio dirs and pacing (ASSISTANT_* keys).
|
Package assist configures local assistant audio dirs and pacing (ASSISTANT_* keys). |
|
botcmd
Package botcmd configures Matrix room bot command prefixes (BOT_COMMAND_PREFIX).
|
Package botcmd configures Matrix room bot command prefixes (BOT_COMMAND_PREFIX). |
|
cartesia
Package cartesia is a WebSocket TTS client for the Cartesia API.
|
Package cartesia is a WebSocket TTS client for the Cartesia API. |
|
documents
Package documents configures documentation corpus roots on disk (DOCS_ROOT).
|
Package documents configures documentation corpus roots on disk (DOCS_ROOT). |
|
embedding
Package embedding configures the embedding model name (embed.* EMbed_MODEL mapping).
|
Package embedding configures the embedding model name (embed.* EMbed_MODEL mapping). |
|
generator
Package generator configures the generation/completion model (gen.* / GEN_MODEL).
|
Package generator configures the generation/completion model (gen.* / GEN_MODEL). |
|
httpclient
Package httpclient groups shared outbound HTTP timeouts (HTTP_TIMEOUT mapping).
|
Package httpclient groups shared outbound HTTP timeouts (HTTP_TIMEOUT mapping). |
|
httpjson
Package httpjson provides a small HTTP JSON helper for outbound API calls.
|
Package httpjson provides a small HTTP JSON helper for outbound API calls. |
|
inworld
Package inworld is an STT WebSocket client for the Inworld realtime API.
|
Package inworld is an STT WebSocket client for the Inworld realtime API. |
|
matrix
Package matrix configures Matrix/Synapse connectivity for bots.
|
Package matrix configures Matrix/Synapse connectivity for bots. |
|
neo4j
Package neo4j provides Neo4j driver wiring for knowledge-graph services.
|
Package neo4j provides Neo4j driver wiring for knowledge-graph services. |
|
ollama
Package ollama is an HTTP client for the Ollama API (embeddings + generate).
|
Package ollama is an HTTP client for the Ollama API (embeddings + generate). |
|
qdrant
Package qdrant is a REST client for Qdrant collections and points.
|
Package qdrant is a REST client for Qdrant collections and points. |
Click to show internal directories.
Click to hide internal directories.