Agentics & Retrieval
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
The AI-flavoured capabilities. Both are M2 — narrow surface still settling. Use for prototypes / non-critical workloads; expect minor breaking changes within preview minors.
Packages
Section titled “Packages”Click any package name to jump to its source-doc.
| Package | NuGet ID | Maturity | Capability |
|---|---|---|---|
| Agentics | Cephalon.Agentics | M2 | Capability.Agentics |
| Retrieval | Cephalon.Retrieval | M2 | Capability.Retrieval |
Cephalon.Agentics
Section titled “Cephalon.Agentics”Agentic workload runtime — task graph, tool registry, scheduled agents.
What it ships
Section titled “What it ships”IAgentToolDispatcher— invoke registered tools from an agent run.IAgentToolRunCatalog— list/query tool runs (for observability).AgentToolExecutionRequest/Result/Outcome— typed envelopes.- Source generator for
[AgentTool]-tagged methods → automatic registry registration.
Use cases
Section titled “Use cases”| Use case | Pattern |
|---|---|
| LLM with tool-use | Register tools with [AgentTool]; dispatcher invokes typed methods |
| Scheduled agent runs | Cephalon.Worker + Cephalon.Agentics |
| Multi-step workflow with checkpoints | Process manager (Cephalon.Behaviors.Patterns) + tool calls |
Configuration
Section titled “Configuration”{ "Engine": { "Agentics": { "Enabled": true, "RunHistory": { "Retention": "30.00:00:00" }, "Concurrency": 4 } }}Cephalon.Retrieval
Section titled “Cephalon.Retrieval”Retrieval / RAG runtime — vector search, hybrid retrieval, ranking.
What it ships
Section titled “What it ships”IRetrievalQuery— typed retrieval interface.IEmbeddingProvider— pluggable embedding generation (no built-in provider; bring your own).- Vector store integration via
Cephalon.Data.Qdrant.
Use cases
Section titled “Use cases”| Use case | Pattern |
|---|---|
| RAG over docs | Embed documents → store in Qdrant → IRetrievalQuery |
| Hybrid keyword + semantic | Elasticsearch + Qdrant; engine ranks results |
| Reranking | Plug a IRetrievalReranker after initial retrieval |
Configuration
Section titled “Configuration”{ "Engine": { "Retrieval": { "Enabled": true, "VectorStore": "Qdrant", "Embeddings": { "Provider": "OpenAI" }, // BYO via IEmbeddingProvider "Reranking": { "Enabled": false } } }}Dependencies
Section titled “Dependencies”Cephalon.Retrieval needs Cephalon.Data + Cephalon.Data.Qdrant needs an IEmbeddingProvider implementation (not shipped — you provide)See also
Section titled “See also”- Technology → Agentics — narrative.
- Technology → Retrieval — narrative.
- Tutorial → Agentic workload — walkthrough.
- Tutorial → Retrieval / RAG — walkthrough.