Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alan-TheGentleman/gentleman-book-mcp
/ types & classes
Types & classes
20 in github.com/Alan-TheGentleman/gentleman-book-mcp
⨍
Functions
48
◇
Types & classes
20
Struct
BookIndex
BookIndex represents the complete book index
internal/book/models.go:32
Struct
Chapter
Chapter represents a book chapter
internal/book/models.go:4
Struct
Chunk
Chunk represents a text fragment with its embedding
internal/embeddings/embeddings.go:31
Interface
EmbeddingClient
EmbeddingClient is the interface for generating embeddings
internal/embeddings/embeddings.go:25
Struct
OllamaClient
============================================ OLLAMA CLIENT ============================================
internal/embeddings/embeddings.go:266
Struct
OpenAIClient
============================================ OPENAI CLIENT ============================================
internal/embeddings/embeddings.go:164
Struct
Parser
Parser handles parsing of MDX book files
internal/book/parser.go:16
TypeAlias
Provider
Provider defines the embeddings provider type
internal/embeddings/embeddings.go:17
Struct
SearchResult
SearchResult represents a search result
internal/book/models.go:21
Struct
Section
Section represents a section within a chapter
internal/book/models.go:15
Struct
SemanticEngine
============================================ SEMANTIC ENGINE ============================================ SemanticEngine combines the embeddings clien
internal/embeddings/embeddings.go:364
Struct
SemanticResult
SemanticResult represents a semantic search result
internal/embeddings/embeddings.go:42
Struct
VectorStore
VectorStore stores and searches chunks by similarity
internal/embeddings/embeddings.go:52
Struct
chapterSummary
Create chapter summary (without full content)
cmd/server/main.go:246
Struct
frontmatter
frontmatter represents the YAML frontmatter from MDX
internal/book/parser.go:26
Struct
ollamaRequest
internal/embeddings/embeddings.go:272
Struct
ollamaResponse
internal/embeddings/embeddings.go:277
Struct
openAIRequest
internal/embeddings/embeddings.go:170
Struct
openAIResponse
internal/embeddings/embeddings.go:175
Struct
scored
internal/embeddings/embeddings.go:83