Arrange a consultation
|
Beratung vereinbaren

Context-Aware Chatbot: Dynamic Document Search with Agentic AI

Relevant information, exactly when you need it – with context-aware document search powered by Agentic AI. Learn more now!
Project Overview
Industry:
Pharmaceutical and healthcare industry
Customer:
Global pharmaceutical company
Highlights
  • Context- and role-based interaction with shared and personal documents
  • Personalized agents tailored to departmental and user-specific contexts
  • Role-based access control at the organizational level
Technology stack
  • Agentic AI
  • AWS
  • Azure OpenAI
  • Chainlit
  • Langfuse
  • LlamaIndex
  • Python
  • Qdrant
  • Retrieval Augmentation Generation (RAG)
  • Text-to-SQL
Leveraging the Agentic AI architecture, we developed a chatbot that dynamically adapts to roles, organizational units, and individual contexts.
Portrait von Christoph Bergen
Christoph Bergen
CoE Lead GenAI bei HMS
Talk to our experts
Name
Information on data processing can be found in our Privacy Policy. Privacy Policy.
=
A global pharmaceutical company faced the challenge of providing employees from various departments with efficient access to internal documents. Existing systems lacked the ability to filter and personalize search results based on individual roles, departments, or areas of responsibility. As a result, employees had to manually compile relevant information from numerous sources - a time-consuming process that often led to incomplete or outdated results.

There was a clear need for a solution that offered role-based access combined with context-aware, accurate answers.

The HMS Solution: AI-Powered Document Management with Agentic AI

HMS developed a context-aware chatbot powered by Retrieval-Augmented Generation (RAG) and guided by an Agentic AI architecture.
The solution combines role-based access control (RBAC) with dynamic orchestration of search processes, enabling users to search for information in a targeted way and receive context-specific answers - individually tailored to their role and organizational affiliation.

Automated indexing and access control

All relevant corporate documents are stored as text embeddings in a vector database.
Role-based access control ensures that only authorized employees can access sensitive content.

Personalized agents and chat interface

Domain-specialized agents detect department- or project-specific contexts and adjust the response logic accordingly.
Through an intuitive, LLM-based chat interface, employees can quickly query and process both shared and personal documents.

Scalable infrastructure

The solution leverages AWS cloud services to ensure secure and flexible integration into the existing IT landscape.
Its modular architecture allows for gradual expansion to additional business units and locations.
The chatbot drastically reduces research time and delivers precise answers - securely, role-based, and globally scalable.
Learn more about our GenAI services

More efficient processes through context-aware document search

The context-aware chatbot significantly improves document-based workflows by delivering precise, role-specific answers.
Efficient, role-based information distribution
Users only see the content that is authorized for their roles, responsibilities, and projects - protected by role-based access controls (RBAC) and fully compliant with regulatory requirements.
Faster workflows
Department- and task-specific filters, along with personalized agents, reduce search time.
Seamless scalability and integration
The modular cloud architecture enables a gradual rollout across additional business units and locations.
These enhancements enable our client to leverage knowledge more efficiently and make decisions based on a reliable information foundation.

Our strengths, your advantage –
AI-powered document systems with Agentic AI

HMS develops tailored generative AI solutions for complex document and knowledge management scenarios.
We combine cutting-edge LLM technologies with deep expertise in enterprise processes.
Proven Agentic AI architectures
Scalable systems for context-aware search processes and role-based management of sensitive data
Seamless integration into enterprise IT
Adaptable to heterogeneous IT environments and existing security frameworks
Security and compliance by design
Architecture with RBAC (Role-Based Access Control) and GDPR-compliant components for global rollouts
Optimize your document search with AI – get started with HMS!
Book a meeting
Name
Information on data processing can be found in our Privacy Policy. Privacy Policy.
=

Our Success Stories

Visualisierung einer vernetzten Datenstruktur über einer Person, die auf einem Laptop arbeitet – Symbol für automatisierte Datenintegration und digitale CRM-Prozesse.

Automated Data Pipeline to Optimize CRM Strategy

HMS developed a scalable ELT pipeline to ensure daily updates of customer data. This solution provides real-time analytics through a dashboard, supporting business decisions across more than 40 countries.

Customer Benefits:

  • Daily Data Updates: Fresh data is available every day to enable precise CRM decisions.
  • Reduced Manual Effort: Automated processes save time and minimize errors.
  • Scalable Solution: The architecture can be seamlessly expanded to meet future requirements.
Case Study anschauen

Role-based AI Chatbot: Secure Document Management for Enterprises

HMS developed an AI-powered solution that simplifies access to confidential documents while meeting the highest compliance standards.

Customer benefits:

  • Faster access to relevant content

  • Role-based control protects sensitive data

  • Scalable for teams and departments

Case Study anschauen
Visualisierung einer vernetzten Datenstruktur über einer Person, die auf einem Laptop arbeitet – Symbol für automatisierte Datenintegration und digitale CRM-Prozesse.

Smarter Market and Competitive Analysis Powered by Agentic AI

HMS developed an LLM-powered platform that automates market and competitive analysis, delivering real-time insights for faster, data-driven decisions.

Customer benefits:

  • Analyses in minutes instead of days

  • Verified data sources for high-quality results

  • Ad-hoc queries and automated reports

Case Study anschauen

Context-Aware Chatbot: Dynamic Document Search with Agentic AI

HMS develops context-sensitive document search with Agentic AI for precise, secure, and role-based answers.

Benefits:

  • Targeted information delivery through context-aware responses with maximum relevance

  • Faster workflows thanks to reduced search effort with personalized agents

  • Seamless scalability easily extendable to teams and locations

Case Study anschauen

Long-term SAS support for IT department of a banking group

Finance

Since 2006, HMS has supported the regulatory reporting departments of a large German banking network with SAS expertise and comprehensive know-how. We provide ongoing consultation, performance optimisation, and customised solutions for regulatory requirements.

Benefits:

  • Qualitative improvement of legacy resources
  • Enhanced software and data quality
  • Performance optimization
  • Daily support
Case Study anschauen

SAS Viya migration at automotive bank

Banking

We successfully migrated our client's SAS platform from on-premises to SAS Viya on Azure. We built a cloud infrastructure with Kubernetes and implemented migration and automation tools.

Benefits:

  • On-time fulfillment of all requirements
  • Modern work environment
  • Ensured operational readiness (OpsReadiness)
Case Study anschauen

Validated R environment for analysis of clinical studies

Life Science, Healthcare

Pharmaceutical companies increasingly use the R programming language for planning and analysing clinical studies. Our validated R environment enables the use of modern statistical methods while meeting the high regulatory requirements in a GxP setting.

Benefits:

  • Reduced licensing costs by replacing standard software
  • Use of modern statistical methods
  • Exploratory work in compliance with regulatory requirements
Case Study anschauen
Eine digitale Erdkugel schwebt über einem modernen Arbeitsplatz mit Laptop, Maus, Brille und Schreibutensilien

Perfect Execution: Migration to SAS Viya

Energy Supplier

A leading energy supplier migrated critical systems from SAS 9.4 on-premises to the cloud-based SAS Viya platform. HMS optimised the infrastructure for stable operations.

Benefits:

  • Efficient migration
  • Low-maintenance user environment
  • Long-term support by HMS
Case Study anschauen
Eine digitale Erdkugel schwebt über einem modernen Arbeitsplatz mit Laptop, Maus, Brille und Schreibutensilien

Global BI

Medical Technology

BioHorizons Camlog collaborated with HMS to develop a robust data warehouse and Power BI model. This now enables efficient and reliable reporting.

Benefits:

  • Efficient data integration
  • Enhanced analytical capabilities
  • Global decision-making
Case Study anschauen

Sales Analytics Platform

Consumer Health

Bayer Vital integrates top-tier customer management with modern technologies to quickly respond to changing market demands and differentiate itself from competitors. By leveraging analytical potential, the knowledge lead is further expanded, enabling data-driven measurement, optimisation and control of sales and marketing processes in the sales channels.

Benefits:

  • Rapid response to market changes
  • Differentiation from competitors
  • Data-driven optimization of sales and marketing processes
Mobile App und Cloud Backend: Hände, die ein Handy bedienen, an einem modernen Arbeitsplatz. Das Bild ist überlagert von leicht transparenten digitalen Schaltkreisen im Stile einer Flowchart.

Laboratory in a pocket: data-driven decisions

Medical Technology

HMS developed a modular software solution for trinamiX, comprising a mobile app, a cloud backend, and a web-based customer portal. This solution enables real-time transmission and analysis of sensor data from an infrared detector device.

Benefits:

  • Optimised data management processes
  • Seamless integration of sensor data into the cloud
  • Real-time analysis and predictions
Case Study anschauen

GenAI-Supported Transformation: Migration from SAS to AWS

Finance

Our solution contributed to the modernization of core SAS BI landscapes by successfully facilitating the transition to the cloud. We effectively used GenAI for automated code migration to Python.

Benefits:

  • Long-term cost-effectiveness and efficiency of BI applications
  • Architecture meets BaFin requirements
  • Process optimization through consolidation and professionalisation of processes
Case Study anschauen

LLM-Based Natural Language SQL Queries

Healthcare / Life Science

Our solution enables natural language SQL queries through a chatbot interface, allowing users without technical expertise to access corporate data.

Benefits:

  • Democratised data access
  • Increased efficiency
  • Informed decision-making
Case Study anschauen

Analysis of Free Text Data Through Automated Content Tagging

Healthcare / Pharma

Our solution for tagging and structuring content transforms previously untapped free text data into valuable, analysable information, thereby enhancing the data foundation within companies.

Benefits:

  • Faster classification, evaluation, and structuring of data
  • Expansion of the data foundation
  • Informed analysis and decision-making
Case Study anschauen

Large-Scale RAG System for Efficient Information Retrieval

Chemicals

Our system allows researchers to accurately search a vast amount of internal research data using natural language, enabling them to quickly obtain the necessary information.

Benefits:

  • Enhanced search quality
  • Optimal user guidance
  • Increased user trust
Case Study anschauen

Enhancing the Customer Journey in Online Sales

E-Commerce

HMS optimized the customer journey for Verivox in the online sale of complex products through detailed data analysis and evaluation of various touchpoints and methods.

Benefits:

  • More precise budget allocation
  • More efficient distribution of marketing resources
  • Improved sales success
Case Study anschauen

Innovating Clinical Research: AI for Secondary Clinical Data Analysis

Healthcare / Life Science

We supported Novartis in exploring the potential of machine learning in clinical research. By analysing study data with machine learning and explainable AI, we identified unknown correlations and improved the predictive power for treatment outcomes and safety profiles.

Benefits:

  • Discovery of unknown correlations
  • Improved prediction of treatment outcomes
  • Optimised identification of critical features through explainable AI
Case Study anschauen

Cloud-native Statistical Computing Environment

Life Science / Pharma

HMS replaced a 25-year-old central SAS-based system with a modern, cloud-native Statistical Computing Environment (SCE) for analyzing clinical studies for Germany's largest pharmaceutical company.

Benefits:

  • Integration of the SCE web app with SAS Studio under SAS Viya for seamless workflows
  • System design with AWS services for optimal data security and access
  • Automated validation strategy to simplify regular release deployments
Case Study anschauen
© 2024 – 2025 HMS Analytical Software
chevron-down