Enfinite Meets AI - Chatbot Revolutionizes Information Access in Oil, Gas & Water Wells Operations

Enfinite Meets AI – Chatbot Revolutionizes Information Access in Oil, Gas & Water Wells Operations

Business Problem

  • In the dynamic and data-intensive domain of oil, gas, and water wells, efficiently accessing and interpreting vast amounts of information is crucial. The client required a sophisticated chatbot capable of answering user queries by retrieving information from both a PostgreSQL database and a collection of PDF documents. The challenge was to seamlessly classify and process these queries to deliver accurate and relevant information to the users.

About Enfinite

Enfinite Technologies is an artificial intelligence (AI) company that helps oil and gas (O&G) exploration and production (E&P) companies optimize production from their wells. Their AI platform uses real-time data to predict failures in critical equipment and autonomously optimize performance. This can help E&P companies increase production volumes and reduce downtime.

Explore Now

Solution

To address the challenge, we developed a sophisticated chatbot system with the following components:

Enfinite Meets AI - Chatbot Revolutionizes Information Access in Oil, Gas & Water Wells Operations
Click to View in Full Size

Architecture

  • User Query Handling: Users send queries via API Gateway, which forwards them to a Lambda function for initial processing.
  • Initial Processing: The Lambda function uses LyzrSDK and Docker from ECR, then sends the query to SageMaker Llama2 for prompt engineering and API classification.
  • Data Fetching: Classified APIs and parameters are processed by a second Lambda function to fetch necessary data from the client database.
  • Final Processing: The fetched data and query are further processed by a second instance of SageMaker Llama2 for final prompt engineering, returning the response through the Lambda function and API Gateway to the user.
  • System Management: Infrastructure management and monitoring are handled by CloudTrail, CloudFormation, IAM, and CloudWatch for logs and alarms, ensuring secure and efficient operations.
Outcomes

0Improved Query Routing

The classifier’s precise routing of queries to the appropriate agents significantly increased response accuracy and efficiency, streamlining user interactions.

0Effortless Data Retrieval

With the text-to-SQL agent, users seamlessly accessed the PostgreSQL database, quickly obtaining data and visualizations, enhancing productivity.

0Enhanced Information Access

The chat agent’s use of the vector store enabled detailed extraction from domain-specific PDFs, ensuring comprehensive information retrieval for users.

Technology Stack​