# antsk | AIDotNet | Knowledge Base | Instagit

GitHub Stars: 0

Repository: https://github.com/aidotnet/antsk

---

## Articles

### [How to Integrate Custom OCR Capabilities into the AntSK Platform](/aidotnet/antsk/how-can-custom-ocr-capabilities-be-integrated-into-the-antsk-platform)

Integrate custom OCR into AntSK by implementing IOcrEngine and using WithCustomImageOcr in KMService.cs to index and search image documents.

- Tags: how-to-guide
- Published: 2026-02-24

### [How AntSK Handles File Uploads and Document Processing: A Complete Pipeline Guide](/aidotnet/antsk/how-does-antsk-handle-file-uploads-and-the-subsequent-document-processing-pipeline)

**AntSK processes file uploads through a multi-stage pipeline that saves files to disk, validates them via KMService, queues background import tasks through BackgroundTaskBroker, and processes documents using KernelMemory with ...

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Diagnose and Fix Model Connection Issues in AntSK: A Complete Debugging Guide](/aidotnet/antsk/what-are-the-common-causes-and-debugging-steps-for-model-connection-issues-in-antsk)

Troubleshoot AntSK model connection issues. Learn common causes like endpoint misconfiguration and network blocks. Debug your AI model connections effectively with this guide.

- Tags: debugging-guide
- Published: 2026-02-24

### [How to Manage Chat History in AntSK: 7 Proven Strategies for Persistent Conversations](/aidotnet/antsk/what-strategies-are-recommended-for-managing-chat-history-effectively-in-antsk)

Discover 7 proven strategies to effectively manage chat history in AntSK using Semantic Kernel and local storage. Maintain persistent, isolated conversations with ease.

- Tags: best-practices
- Published: 2026-02-24

### [Best Practices for Implementing Custom Prompt Templates for Knowledge Base Queries in AntSK](/aidotnet/antsk/what-are-the-best-practices-for-implementing-custom-prompt-templates-for-knowledge-base-queries)

Learn best practices for AntSK custom prompt templates. Master required placeholders like {{$doc}} and {{$input}} for effective knowledge base queries with Semantic Kernel. Boost your chatbot's accuracy.

- Tags: best-practices
- Published: 2026-02-24

### [Integrating Ollama via OpenAI-Compatible API Endpoint in AntSK: A Complete Guide](/aidotnet/antsk/describe-the-integration-process-for-ollama-using-its-openai-compatible-api-endpoint)

Integrate Ollama with AntSK using its OpenAI-compatible API endpoint. This guide explains how AntSK redirects API calls to your local Ollama server for chat completions and embeddings.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Configure LlamaFactory for Local Model Inference in AntSK](/aidotnet/antsk/how-can-llamafactory-be-configured-for-local-model-inference-within-antsk)

Learn how to configure LlamaFactory for local model inference in AntSK. Expose local models via an OpenAI-compatible API by setting up modelList.json and starting your service.

- Tags: how-to-guide
- Published: 2026-02-24

### [SendKmsByAppAsync Execution Flow: Tracing Knowledge Base Q&A in AntSK](/aidotnet/antsk/trace-the-execution-flow-of-sendkmsbyappasync-for-knowledge-base-qa-interactions)

Explore SendKmsByAppAsync execution flow for AntSK knowledge base Q&A. Understand document retrieval, semantic search, reranking, and LLM calls for real-time answers.

- Tags: internals
- Published: 2026-02-24

### [How the ServiceDescription Attribute Powers Dependency Injection in AntSK](/aidotnet/antsk/what-role-does-the-servicedescription-attribute-play-in-antsks-dependency-injection)

Discover how the ServiceDescription attribute in AntSK simplifies dependency injection. Learn to self-declare service interfaces and lifetimes for cleaner code and less boilerplate.

- Tags: internals
- Published: 2026-02-24

### [How Kernel Memory Handles Document Ingestion and Search in AntSK](/aidotnet/antsk/how-does-kernel-memory-handle-document-ingestion-and-subsequent-search-operations-in-antsk)

Discover how AntSK uses Kernel Memory for efficient document ingestion and filtered vector searches with KMS tags, optimizing RAG workflows for precise retrieval.

- Tags: internals
- Published: 2026-02-24

### [Configuration Options for Vector Storage in AntSK: Disk, Memory, Qdrant, and Redis](/aidotnet/antsk/what-are-the-configuration-options-for-vector-storage-including-disk-memory-qdrant-and-redis)

Explore AntSK vector storage options: Disk, Memory, Qdrant, and Redis. Learn how to configure storage for your AI applications with Kernel Memory.

- Tags: how-to-guide
- Published: 2026-02-24

### [How AntSK Uses Background Task Processing for Knowledge Base Document Import](/aidotnet/antsk/how-does-antsks-background-task-processing-facilitate-knowledge-base-document-import)

Learn how AntSK uses background task processing with BlockingCollection and hosted workers to efficiently import knowledge base documents asynchronously for chunking, embedding, and persistence.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Integrate External HTTP Services via AntSK's API Plugin System](/aidotnet/antsk/what-is-the-mechanism-for-integrating-external-http-services-via-antsks-api-plugin-system)

Integrate external HTTP services with AntSK by loading API definitions, wrapping REST calls with RestSharp, and exposing them as semantic kernel functions within the AntSKFunctions plugin.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Create and Register Custom Function Plugins in AntSK: A Complete Guide](/aidotnet/antsk/how-can-developers-create-and-register-custom-function-plugins-within-antsk)

Learn how to create and register custom function plugins in AntSK by marking .NET methods with DescriptionAttribute. Automatically index your functions for Semantic Kernel integration.

- Tags: how-to-guide
- Published: 2026-02-24

### [AntSK Knowledge Base Retrieval with BGE Embeddings and Reranking: A Deep Dive into the Pipeline](/aidotnet/antsk/explain-the-retrieval-process-in-antsks-knowledge-base-using-bge-embeddings-and-reranking)

Explore AntSK's knowledge base retrieval pipeline using BGE embeddings and reranking. Discover how documents are converted to vectors, searched, and refined for accurate LLM responses.

- Tags: deep-dive
- Published: 2026-02-24

### [How ChatService Implements Streaming Responses with Function Calling in AntSK](/aidotnet/antsk/how-does-the-chatservice-implement-streaming-responses-with-support-for-function-calling)

Learn how ChatService uses IAsyncEnumerable to stream LLM responses with function calling in AntSK. Real-time text chunks and automated tool invocation.

- Tags: internals
- Published: 2026-02-24

### [KernelService Internal Architecture: Dynamic AI Model Provider Loading in AntSK](/aidotnet/antsk/what-is-the-internal-architecture-of-kernelservice-for-dynamic-ai-model-provider-loading)

Explore AntSK's KernelService internal architecture for dynamic AI model provider loading. Discover how it efficiently binds OpenAI Azure OpenAI SparkDesk and Ollama at runtime via a factory pattern.

- Tags: internals
- Published: 2026-02-24

### [How AntSK Leverages Semantic Kernel for AI Orchestration: A Technical Deep Dive](/aidotnet/antsk/how-does-antsk-leverage-semantic-kernel-for-orchestrating-ai-interactions)

Explore how AntSK uses Semantic Kernel for AI orchestration. Discover its role in managing AI interactions, plugin execution, and function calling for RAG and native code.

- Tags: deep-dive
- Published: 2026-02-23

