Skip to content

Context-aware tool for automated BDD test generation and execution using RAG, VectorDB, and LLaMA.

License

Notifications You must be signed in to change notification settings

apatni24/VisionQA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisionQA

🎯 Introduction

The VisionQA Application leverages LLM models to automate BDD test case generation and execution. It also provides project summaries and context-aware chat support to simplify the process of writing and executing BDD tests.


🎥 Demo

📹 Video Demo: https://drive.google.com/file/d/1aYgrzA8HfzB8GE7Ex6YE-cmqOHhkR4eL/view?usp=sharing


AI Agent Demo: https://drive.google.com/file/d/1w-KR0klxA5wT5HJPcOfuat1NQxZbnW1Q/view?usp=sharing

🖼️ Screenshots:

Ai Agent

Our AI agent combines techniques from Adaptive RAG, Corrective RAG, and Self-RAG to enhance retrieval accuracy and reliability. It dynamically routes queries, falls back to web search when needed, and self-corrects responses to reduce hallucinations and improve answer quality.The agent also stores history in state using checkpointer memory for context retention.

alt text


About Page

alt text


Project Summary

alt text


Chat Interface

alt text


BDD Test Case Generation

alt text


Running BDD test cases after generating step definition

alt text


Test Execution and Allure Report

alt text



⚙️ What It Does

  • User Onboarding: Upload Confluence and JIRA URLs to extract data.
  • Project Summary: Generates a comprehensive summary from contextual data.
  • Context-Aware Chat: Provides project-related answers and insights.
  • BDD Test Case Generation: Creates test cases based on contextual data.
  • Syntax Validation: Validates BDD syntax with advanced LLM models.
  • Step Definition Generation: Generates precise and executable step definitions.
  • Test Execution: Runs tests and generates reports using Allure.
  • Reporting: Provides a shareable URL for the generated reports.

🏃 How to Run

Run the Backend

cd code/src/backend
pip install -r requirements.txt
uvicorn main:app --reload

Run the Frontend

cd code/src/frontend/visionqa
npm install
npm start

Start the LLM Model

cd code/src/model/
pip install -r requirements.txt
cd agent/
langgraph dev

🏗️ Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: FastAPI
  • Database: Pinecone Vector DB
  • LLM: Langchain, LLaMA, deepseek-r1-distill-llama-70b, deepseek-r1-distill-qwen-32b, Chat Groq API
  • Sentence Transformer: sentence-transformers/all-mpnet-base-v2
  • Image Processing: Salesforce BLIP, OCR
  • Testing and Reporting: Behave, Allure