Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/WeKnora
/ types & classes
Types & classes
2,473 in github.com/Tencent/WeKnora
⨍
Functions
12,364
◇
Types & classes
2,473
↳
Endpoints
4
↓ 33 callers
TypeAlias
JSON
JSON is a custom type that wraps json.RawMessage. Used for storing JSON data in the database.
internal/types/json.go:11
↓ 23 callers
Class
Document
Document including document content, document metadata.
docreader/models/document.py:62
↓ 16 callers
TypeAlias
EventType
EventType represents different stages in the RAG (Retrieval Augmented Generation) pipeline
internal/types/chat_manage.go:245
↓ 11 callers
Class
MHTMLParser
Parser for MHTML web archives.
docreader/parser/mhtml_parser.py:32
↓ 11 callers
TypeAlias
ProviderName
ProviderName 模型服务商名称
internal/models/provider/provider.go:13
↓ 11 callers
TypeAlias
SourceType
SourceType represents the type of content source
internal/types/embedding.go:4
↓ 10 callers
Class
PDFParser
Per-page router between native text extraction and scanned rendering. For each page: * native text page -> keep its text layer (fast, pypd
docreader/parser/pdf_parser.py:1354
↓ 9 callers
Class
ExcelParser
Parser for Excel files (.xlsx, .xls). This parser extracts text content from Excel files by processing all sheets and converting each row
docreader/parser/excel_parser.py:45
↓ 6 callers
Class
PDFScannedParser
Render every PDF page to a JPEG image. Used as a robust last-resort fallback and for image-only PDFs. The Go App performs OCR on the extracte
docreader/parser/pdf_parser.py:1296
↓ 6 callers
TypeAlias
References
References references
internal/types/chat.go:123
↓ 6 callers
TypeAlias
RetrieverEngineType
RetrieverEngineType represents the type of retriever engine
internal/types/retriever.go:4
↓ 6 callers
TypeAlias
StringArray
StringArray represents a list of strings
internal/types/session.go:160
↓ 5 callers
Class
MarkdownTableUtil
Utility class for formatting Markdown tables. This class standardizes Markdown table formatting by: - Normalizing column alignment markers (e
docreader/parser/markdown_parser.py:32
↓ 5 callers
TypeAlias
ResponseType
Response type
internal/types/chat.go:78
↓ 5 callers
TypeAlias
TenantRole
TenantRole represents a user's role inside a single tenant. Tenant roles govern intra-tenant authority (who can create/edit/delete resources, manage
internal/types/tenant_member.go:16
↓ 4 callers
Struct
ReadStreamResponse
One frame of a ReadStream. The first frame carries `meta`; every subsequent frame carries a single `image`.
docreader/proto/docreader.pb.go:400
↓ 4 callers
Class
TLSConfigError
TLS 配置错误,用于 fail-fast。
docreader/auth.py:30
↓ 3 callers
Class
EPUBParser
Parser for EPUB e-book files.
docreader/parser/epub_parser.py:25
↓ 3 callers
TypeAlias
ModelSource
ModelSource represents the source of the model
internal/types/model.go:35
↓ 3 callers
Struct
ReadResponse
docreader/proto/docreader.pb.go:245
↓ 3 callers
Struct
ReadStreamMeta
Metadata header for a streamed read. Sent exactly once, before any image.
docreader/proto/docreader.pb.go:322
↓ 3 callers
FuncType
roundTripFunc
func(*http.Request) (*http.Response, error)
internal/models/embedding/azure_openai_test.go:152
↓ 2 callers
TypeAlias
AgentSteps
AgentSteps represents a collection of agent execution steps Used for storing agent reasoning process in database
internal/types/message.go:228
↓ 2 callers
TypeAlias
AuditAction
AuditAction names a single audited action class. Action constants are dot-namespaced (`<area>.<event>`) so future PRs can plug in their own areas (e.g
internal/types/audit_log.go:11
↓ 2 callers
TypeAlias
AuditOutcome
AuditOutcome distinguishes successful mutations from middleware-level rejections. The split lets the audit-log UI highlight denials in red without nee
internal/types/audit_log.go:124
↓ 2 callers
TypeAlias
EventType
EventType represents the type of event in the system
internal/event/event.go:14
↓ 2 callers
TypeAlias
FallbackStrategy
FallbackStrategy represents the fallback strategy type
internal/types/session.go:13
↓ 2 callers
TypeAlias
FormatMode
FormatMode is the resolved --format value (typed enum).
cli/internal/cmdutil/format.go:18
↓ 2 callers
Struct
ImageRef
docreader/proto/docreader.pb.go:169
↓ 2 callers
Class
LineData
Represents a processed line of document content with associated images
docreader/parser/docx_parser.py:61
↓ 2 callers
Class
MarkdownImageUtil
Utility class for handling images in Markdown. This class provides functionality to: - Extract base64-encoded images from Markdown - Extr
docreader/parser/markdown_parser.py:227
↓ 2 callers
Class
MarkitdownParser
docreader/parser/markitdown_parser.py:77
↓ 2 callers
TypeAlias
ModelType
ModelType represents the type of AI model
internal/types/model.go:15
↓ 2 callers
Class
Parser
Document parser facade (lightweight version). Converts files/URLs to markdown + image references. No chunking, no storage, no OCR, no VLM.
docreader/parser/parser.py:11
↓ 2 callers
Class
QAAnsweringSystem
dataset/qa_dataset.py:102
↓ 2 callers
Class
RequestIdFilter
Filter that adds request ID to log messages
docreader/utils/request.py:84
↓ 2 callers
TypeAlias
SessionMode
SessionMode determines how IM sessions are resolved.
internal/im/adapter.go:24
↓ 2 callers
Class
TempDirContext
docreader/utils/tempfile.py:44
↓ 2 callers
Class
TempFileContext
docreader/utils/tempfile.py:8
↓ 2 callers
Class
WeKnoraClient
Client for interacting with WeKnora API
mcp-server/weknora_mcp_server.py:40
↓ 2 callers
Class
WebParser
Web parser using pipeline pattern. This parser chains StdWebParser (for web scraping and HTML to markdown conversion) with MarkdownParser (fo
docreader/parser/web_parser.py:261
↓ 2 callers
Class
_ScrapeResult
docreader/parser/web_parser.py:54
↓ 2 callers
TypeAlias
errSentinel
internal/handler/knowledgebase_pr3_response_test.go:119
↓ 2 callers
Struct
filter
internal/application/repository/retriever/milvus/filter.go:69
↓ 2 callers
TypeAlias
flexibleStatus
--- Yuque API response types --- flexibleStatus accepts either a string ("1") or a number (1) for the doc `status` field. Yuque's OpenAPI spec declare
internal/datasource/connector/yuque/types.go:91
↓ 1 callers
Struct
App
App holds Wails-bound state for the desktop shell.
cmd/desktop/app.go:9
↓ 1 callers
Class
AuthInterceptor
Token 认证拦截器 环境变量配置: GRPC_AUTH_TOKEN: 认证 Token,如果设置则启用认证 客户端需要在 metadata 中传递 Token: - key: "authorization" - value: "
docreader/auth.py:156
↓ 1 callers
Class
Chunk
Document Chunk including chunk content, chunk metadata.
docreader/models/document.py:9
↓ 1 callers
Class
DocParser
DOC document parser
docreader/parser/doc_parser.py:98
↓ 1 callers
Class
DocReaderConfig
docreader/config.py:49
↓ 1 callers
Class
DocReaderServicer
docreader/main.py:149
↓ 1 callers
Class
DocumentInfo
rerank_server_demo.py:23
↓ 1 callers
Class
Docx
docreader/parser/docx_parser.py:293
↓ 1 callers
Class
Docx2Parser
docreader/parser/docx2_parser.py:10
↓ 1 callers
TypeAlias
ErrorCode
ErrorCode is a namespaced stable identifier emitted on stderr in the `code: message` failure line. SemVer governance: v0.x maintains the registry belo
cli/internal/cmdutil/errors.go:19
↓ 1 callers
Class
HeaderTrackerHook
表头追踪Hook的配置类,支持多种场景的表头识别
docreader/splitter/header_hook.py:7
↓ 1 callers
Class
ImageData
Represents a processed image of document content
docreader/parser/docx_parser.py:52
↓ 1 callers
Struct
ListEnginesResponse
docreader/proto/docreader.pb.go:602
↓ 1 callers
TypeAlias
MCPAuthType
MCPAuthType enumerates the authentication strategies for an MCP service.
internal/types/mcp.go:47
↓ 1 callers
TypeAlias
MCPTransportType
MCPTransportType represents the transport type for MCP service
internal/types/mcp.go:15
↓ 1 callers
Interface
Manager
Manager provides a unified interface for sandbox operations It handles sandbox selection and fallback logic
internal/sandbox/sandbox.go:61
↓ 1 callers
Class
MarkdownParser
Complete Markdown parser using pipeline approach. This parser processes Markdown content through multiple stages: 1. MarkdownTableFormatter:
docreader/parser/markdown_parser.py:440
↓ 1 callers
TypeAlias
MessageAttachments
MessageAttachments is a slice of MessageAttachment for database storage
internal/types/message.go:81
↓ 1 callers
TypeAlias
MessageSearchMode
MessageSearchMode represents the search mode for message search
internal/types/message.go:285
↓ 1 callers
Interface
NotificationOptions
frontend/src/wailsjs/runtime/runtime.d.ts:252
↓ 1 callers
Class
OpenDataLoaderParser
Parse PDFs with OpenDataLoader (layout-aware markdown + external images).
docreader/parser/opendataloader_parser.py:291
↓ 1 callers
Struct
ParserEngineInfo
docreader/proto/docreader.pb.go:526
↓ 1 callers
Class
ParserEngineRegistry
Registry for parser engines. Each engine maps file extensions to parser classes. When a requested engine doesn't support a file type, the reg
docreader/parser/registry.py:24
↓ 1 callers
TypeAlias
QueryIntent
QueryIntent represents the classified intent of a user query.
internal/types/chat_manage.go:77
↓ 1 callers
Class
SandboxExecutor
Sandbox executor for running commands with proxy configuration
docreader/parser/doc_parser.py:19
↓ 1 callers
TypeAlias
StrategyTier
StrategyTier identifies which chunking implementation should run.
internal/infrastructure/chunker/profiler.go:208
↓ 1 callers
Class
TestRankResult
rerank_server_demo.py:28
↓ 1 callers
Class
TextSplitter
Text splitter with support for protected patterns and header tracking. This class splits text into chunks while: - Respecting chunk size and
docreader/splitter/splitter.py:35
↓ 1 callers
TypeAlias
WebSearchProviderType
WebSearchProviderType represents the type of web search provider
internal/types/web_search_provider.go:15
↓ 1 callers
TypeAlias
iterOutcome
iterOutcome directs executeLoop's control flow after one ReAct iteration. Using a sentinel (rather than bare return values from runReActIteration) kee
internal/agent/engine.go:430
↓ 1 callers
TypeAlias
phrase
internal/application/service/metric/bleu.go:85
Interface
ASR
ASR defines the interface for Automatic Speech Recognition model operations.
internal/models/asr/asr.go:23
Struct
ASRConfig
ASRConfig represents automatic speech recognition settings for audio files.
client/knowledgebase.go:124
Struct
ASRConfig
ASRConfig represents the ASR (Automatic Speech Recognition) configuration
internal/types/knowledgebase.go:461
Interface
ASRConfigOverride
frontend/src/types/knowledgeProcess.ts:26
Interface
AcceptInvitationResponse
frontend/src/api/tenant/invitations.ts:90
Struct
Accumulator
Accumulator buffers a KnowledgeQAStream callback sequence. Zero value is ready to use. Not safe for concurrent Append calls - the SDK invokes its cal
cli/internal/sse/accumulator.go:28
Interface
ActionData
frontend/src/types/tool-results.ts:335
Interface
Adapter
Adapter is the interface every IM platform must implement.
internal/im/adapter.go:121
Struct
Adapter
Adapter implements im.Adapter for Telegram Bot API.
internal/im/telegram/adapter.go:30
Struct
Adapter
Adapter implements im.Adapter for WeChat via iLink Bot API.
internal/im/wechat/adapter.go:63
Struct
Adapter
Adapter implements im.Adapter for Feishu/Lark.
internal/im/feishu/adapter.go:39
Struct
Adapter
Adapter implements im.Adapter for DingTalk.
internal/im/dingtalk/adapter.go:41
Struct
Adapter
Adapter implements im.Adapter and im.StreamSender for Slack. It delegates to the Slack LongConnClient for Socket Mode.
internal/im/slack/adapter.go:30
Struct
Adapter
Adapter implements im integration for Mattermost (outgoing webhook inbound + REST outbound).
internal/im/mattermost/adapter.go:31
Struct
Adapter
Adapter makes MCPToolApprovalService satisfy Checker without importing the service package here.
internal/agent/approval/gate.go:540
FuncType
AdapterFactory
AdapterFactory creates an Adapter from an IMChannel configuration. The second return value is an optional cleanup function (e.g., for stopping websock
internal/im/service.go:333
Struct
AddFavoriteRequest
AddFavoriteRequest is the body for POST /user/favorites — kept symmetric with the DELETE path parameters so the frontend can build a single API helper
internal/handler/user_resource_favorite.go:84
Interface
AddMemberRequest
frontend/src/api/tenant/members.ts:51
Struct
AddMemberRequest
AddMemberRequest represents a request to add a member to an organization
internal/types/organization.go:331
Interface
AddMemberResponse
frontend/src/api/tenant/members.ts:56
Struct
AddOptions
cli/cmd/profile/add.go:13
Struct
AddSimilarQuestionsPayload
AddSimilarQuestionsPayload is used to add similar questions to a FAQ entry.
client/faq.go:270
Struct
Agent
Agent represents an agent entity
client/agent_manage.go:17
Struct
AgentAccumulator
AgentAccumulator buffers an AgentQAStream callback sequence. Distinct from Accumulator (KnowledgeQAStream) because the agent event model is wider - ev
cli/internal/sse/agent_accumulator.go:35
next →
1–100 of 2,473, ranked by callers