WeKnora Blog

Latest news, updates, technical articles, and insights about WeKnora and document understanding technology.

WeKnora: Tencent's Open-Source Document Understanding and Retrieval Framework

Published: 2024

WeKnora represents a significant advancement in the field of document understanding and retrieval. Developed by Tencent, this open-source framework leverages Large Language Models (LLMs) to provide deep document understanding, semantic retrieval, and context-aware question-answering capabilities.

What Makes WeKnora Special?

WeKnora stands out in the RAG (Retrieval-Augmented Generation) landscape for several key reasons:

Key Capabilities

WeKnora offers a comprehensive set of features:

Real-World Applications

WeKnora is being used in various scenarios:

Understanding RAG: The Technology Behind WeKnora

Published: 2024

Retrieval-Augmented Generation (RAG) is a powerful paradigm that combines the strengths of information retrieval and language generation. WeKnora implements RAG to provide accurate, context-aware answers from your documents.

How RAG Works

RAG follows a two-stage process:

  1. Retrieval: When a question is asked, the system searches through the knowledge base to find relevant document sections
  2. Generation: The retrieved context is provided to an LLM, which generates a comprehensive answer based on the relevant information

Why RAG Matters

RAG addresses key limitations of LLMs:

WeKnora's RAG Implementation

WeKnora enhances standard RAG with:

Building Your First Knowledge Base with WeKnora

Published: 2024

Creating a knowledge base with WeKnora is straightforward, thanks to the intuitive Web UI and comprehensive documentation. Here's a step-by-step guide to get you started.

Step 1: Installation

Start by installing WeKnora using Docker Compose:

git clone https://github.com/Tencent/WeKnora cd WeKnora ./scripts/start_all.sh

Step 2: Create Your Account

Access the Web UI at http://localhost and create your account.

Step 3: Create Knowledge Base

Choose between FAQ or Document knowledge base types, depending on your use case.

Step 4: Configure Models

Set up your embedding and LLM models through the Web UI configuration interface.

Step 5: Upload Documents

Upload your documents using drag-and-drop, folder import, or URL import.

Step 6: Start Asking Questions

Once processing is complete, start asking questions and get intelligent answers!

Agent Mode: Taking Q&A to the Next Level

Published: 2024

WeKnora's Agent mode enables ReACT (Reasoning and Acting) agents that can use tools, reason through problems, and provide comprehensive answers through multiple iterations.

What is Agent Mode?

Agent mode transforms WeKnora from a simple Q&A system into an intelligent assistant that can:

When to Use Agent Mode

Agent mode is ideal for:

Example Use Case

User: "What's the current weather in New York and how does it affect our shipping policies?" Agent Process: 1. Uses web search to get current weather 2. Searches knowledge base for shipping policies 3. Correlates weather conditions with policy rules 4. Provides comprehensive, contextual answer

WeChat Dialog Open Platform: Zero-Code AI Deployment

Published: 2024

WeKnora serves as the core technology framework for the WeChat Dialog Open Platform, providing a more convenient approach to deploying intelligent Q&A services within the WeChat ecosystem.

Key Benefits

Use Cases

The WeChat Dialog Open Platform enables businesses to:

Best Practices for Document Preparation

Published: 2024

To get the best results from WeKnora, proper document preparation is essential. Here are some best practices:

Document Structure

Content Quality

Metadata and Tags

Stay Updated

Keep up with the latest WeKnora news and updates:

Follow on GitHub Join Community