Language Model Content Filtering for Accurate Chatbot Responses

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional chatbot systems struggle to provide accurate and relevant responses to user queries due to reliance on vector databases and semantic search processes, failing to understand nuances and retrieve pertinent data from knowledge bases, leading to a negative user experience and often requiring human intervention.

Innovation Solution

Utilizing multiple language models, including a first instance for scoring content relevance and a second instance for generating responses, to filter and refine information based on user queries, ensuring precise and coherent interactions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If vector databases and semantic search processes are used for content retrieval, then the system can handle large volumes of data, but the accuracy and relevancy of retrieved content deteriorates

Engineering Contradiction:
Improvevolume of dataVSAvoidaccuracy of content retrieval
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The system segments the content retrieval process into multiple stages: initial broad retrieval using vector databases, followed by sequential filtering through multiple language model instances. Each instance focuses on a specific aspect (relevancy, quality, bias), progressively refining the results to achieve both high volume handling and precision.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Multiple language model instances act as intermediaries between the vector database retrieval and the final response generation. These intermediaries filter and refine the retrieved content through sequential evaluation, ensuring accuracy while maintaining the ability to handle large data volumes.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If multiple language model instances are used for content filtering and response generation, then the accuracy of responses improves, but the computational complexity increases

Engineering Contradiction:
Improveaccuracy of responseVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The complex task of accurate response generation is segmented into multiple specialized language model instances, each handling a specific filtering dimension. This distributes the computational complexity across multiple simpler, specialized components rather than requiring one highly complex model.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies sequential filtering with multiple language model instances, where each instance performs a partial evaluation. While this exceeds the minimum single-model approach, it achieves the desired accuracy by accumulating multiple partial evaluations in a structured sequence.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If comprehensive content filtering is applied to ensure relevancy, then the quality of response improves, but the processing time increases

Engineering Contradiction:
Improvequality of responseVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary filtering actions through multiple language model instances before final response generation. Each instance pre-evaluates specific aspects of the retrieved content (relevancy, quality, bias), so that the final model receives pre-filtered, high-quality input, reducing the need for extensive post-processing.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The filtering process maintains continuous useful action through sequential evaluation by multiple language model instances. Rather than interruptive or batch processing, each instance continuously refines the content stream, maintaining flow while progressively improving quality.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20250292016A1Filtering Content for Automated User Interactions Using Language Models
Publication Date: 2025.09.18 PLANETART LLC
  • US20250292016A1 patent drawing
  • US20250292016A1 patent drawing
  • US20250292016A1 patent drawing

AI summary

Methods, apparatus, and processor-readable storage media for filtering content for automated user interactions using language models are provided herein. An example method includes obtaining a plurality of portions of content based on a query corresponding to one or more topics related to an organization, where the plurality of portions of content is retrieved from at least one content source corresponding to the organization, and configuring a first language model instance to generate a score for each portion of content in the plurality of portions of content based on its relevancy to the query. The method includes filtering the plurality of portions of content based at least in part on one or more filtering criteria and the score generated for each portion, and generating, using a second language model instance, a response to the query, where the response is based on the portions of content resulting from the filtering.