Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baby-llm/baby-agent
/ functions
Functions
923 in github.com/baby-llm/baby-agent
⨍
Functions
923
◇
Types & classes
307
Method
Name
()
ch09/mcp.go:48
Method
Name
()
ch09/context/policy_truncate.go:19
Method
Name
()
ch09/context/policy.go:14
Method
Name
()
ch09/context/policy_offload.go:36
Method
Name
()
ch09/context/policy_summary.go:23
Method
Name
()
ch05/mcp.go:48
Method
Name
()
ch05/context/policy_truncate.go:19
Method
Name
()
ch05/context/policy.go:14
Method
Name
()
ch05/context/policy_offload.go:36
Method
Name
()
ch05/context/policy_summary.go:23
Method
Name
()
ch06/mcp.go:48
Method
Name
()
ch06/context/policy_truncate.go:19
Method
Name
()
ch06/context/policy_offload.go:36
Method
Name
()
ch06/context/policy_summary.go:23
Method
Name
()
ch04/mcp.go:49
Function
NewChunker
NewChunker 创建 Chunker 的工厂函数 默认返回按行切分的实现
ch07/rag/chunker.go:18
Function
NewContextEngine
(memory memory.Memory, policies []Policy)
ch08/context/engine.go:44
Function
NewContextEngine
(memory memory.Memory, policies []Policy)
ch09/context/engine.go:51
Function
NewContextEngine
(policies []Policy)
ch05/context/engine.go:41
Function
NewContextEngine
(memory memory.Memory, policies []Policy)
ch06/context/engine.go:44
Function
NewHTTPEmbeddingService
NewHTTPEmbeddingService 创建HTTP Embedding服务
ch07/rag/embedding.go:35
Function
NewHTTPRerankService
NewHTTPRerankService 创建HTTP Rerank服务
ch07/rag/rerank.go:33
Function
NewIndexer
NewIndexer 创建新的索引器
ch07/index/indexer.go:32
Function
NewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch08/context/summary.go:59
Function
NewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch09/context/summary.go:59
Function
NewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch05/context/summary.go:59
Function
NewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch06/context/summary.go:59
Function
NewLabel
NewLabel 创建轮次标签
ch08/tui/entry.go:29
Function
NewLabel
NewLabel 创建轮次标签
ch09/tui/entry.go:29
Function
NewLabel
NewLabel 创建轮次标签
ch03/tui/tui.go:41
Function
NewLabel
NewLabel 创建轮次标签
ch05/tui/entry.go:25
Function
NewLabel
NewLabel 创建轮次标签
ch06/tui/entry.go:25
Function
NewLabel
NewLabel 创建轮次标签
ch04/tui/tui.go:41
Function
NewPGVectorStore
NewPGVectorStore 创建一个新的 PGVectorStore
ch07/db/pgvector.go:60
Function
NewSemanticSearchTool
NewSemanticSearchTool 创建语义搜索工具
ch07/tool/semantic_search.go:27
Function
ReasoningBlock
({ text, done }: { text: string; done?: boolean })
frontend/src/components/MessageBubble.tsx:146
Function
ReasoningPanel
({ text }: ReasoningMessagePartProps)
frontend/src/components/assistant-ui/reasoning-panel.tsx:4
Function
RenameThreadButton
({ currentTitle }: { currentTitle: string })
frontend/src/components/assistant-ui/thread-list.tsx:116
Method
Rerank
Rerank 对候选文档进行重排序
ch07/rag/rerank.go:70
Function
RuntimeRoot
({ children }: PropsWithChildren)
frontend/src/components/assistant-ui/runtime-provider.tsx:7
Method
Search
Search 在索引中搜索相似内容
ch07/index/indexer.go:263
Method
Search
Search 执行向量相似度搜索
ch07/db/pgvector.go:154
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch08/context/policy.go:15
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch09/context/policy.go:15
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch05/context/policy.go:15
Method
ShouldExcludeDir
ShouldExcludeDir 检查目录是否应该被排除
ch07/index/file_walker.go:100
Function
Sidebar
({ conversations, activeId, onSelect, onNew }: Props)
frontend/src/components/Sidebar.tsx:11
Method
Store
(_ context.Context, key string, value string)
ch08/context/policy_test.go:44
Method
Store
(ctx context.Context, key string, value string)
ch08/storage/storage.go:7
Method
Store
(ctx context.Context, key string, value string)
ch08/storage/storage.go:24
Method
Store
(ctx context.Context, key string, value string)
ch08/storage/filesystem.go:19
Method
Store
(_ context.Context, key string, value string)
ch09/context/policy_test.go:44
Method
Store
(ctx context.Context, key string, value string)
ch09/storage/storage.go:7
Method
Store
(ctx context.Context, key string, value string)
ch09/storage/storage.go:24
Method
Store
(ctx context.Context, key string, value string)
ch09/storage/filesystem.go:19
Method
Store
(_ context.Context, key string, value string)
ch05/context/policy_test.go:44
Method
Store
(ctx context.Context, key string, value string)
ch05/storage/storage.go:7
Method
Store
(ctx context.Context, key string, value string)
ch05/storage/storage.go:24
Method
Store
(_ context.Context, key string, value string)
ch06/context/policy_test.go:44
Method
Store
(ctx context.Context, key string, value string)
ch06/storage/storage.go:24
Method
Store
(ctx context.Context, key string, value string)
ch06/storage/filesystem.go:19
Function
StreamingBubble
({ turn }: { turn: StreamingTurn })
frontend/src/components/ChatPanel.tsx:212
Method
String
()
ch08/memory/memory.go:12
Method
String
()
ch08/memory/memory.go:49
Method
String
()
ch08/memory/memory.go:81
Method
String
()
ch09/memory/memory.go:12
Method
String
()
ch09/memory/memory.go:49
Method
String
()
ch09/memory/memory.go:81
Method
String
()
ch06/memory/memory.go:49
Method
String
()
ch06/memory/memory.go:81
Method
Summarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/policy_test.go:30
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/summary.go:16
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/summary.go:67
Method
Summarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/policy_test.go:30
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/summary.go:16
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/summary.go:67
Method
Summarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/policy_test.go:30
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/summary.go:16
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/summary.go:67
Method
Summarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch06/context/policy_test.go:30
Method
Summarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch06/context/summary.go:67
Function
Sync
()
shared/log/log.go:47
Method
TableName
TableName 指定表名
ch07/db/pgvector.go:33
Function
TestDeleteConversation_RemovesConversationAndMessages
(t *testing.T)
ch10/server/service_test.go:41
Function
TestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch08/context/policy_test.go:211
Function
TestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch09/context/policy_test.go:211
Function
TestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch05/context/policy_test.go:211
Function
TestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch06/context/policy_test.go:211
Function
TestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch08/context/policy_test.go:248
Function
TestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch09/context/policy_test.go:248
Function
TestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch05/context/policy_test.go:248
Function
TestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch06/context/policy_test.go:248
Function
TestOffloadPolicyShouldApply
(t *testing.T)
ch08/context/policy_test.go:267
Function
TestOffloadPolicyShouldApply
(t *testing.T)
ch09/context/policy_test.go:267
Function
TestOffloadPolicyShouldApply
(t *testing.T)
ch05/context/policy_test.go:267
Function
TestOffloadPolicyShouldApply
(t *testing.T)
ch06/context/policy_test.go:267
Function
TestRenameConversation_UpdatesTitle
(t *testing.T)
ch10/server/service_test.go:11
Function
TestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch08/context/policy_test.go:177
Function
TestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch09/context/policy_test.go:177
Function
TestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch05/context/policy_test.go:177
← previous
next →
701–800 of 923, ranked by callers