Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
NOWSHAD76 ffbb0658be
Adding Architecture to README.md
5 months ago
..
091c7caa7b
Task 4 code
5 months ago
091c7caa7b
Task 4 code
5 months ago
091c7caa7b
Task 4 code
5 months ago
121cc56fc9
Chroma syntax correction
5 months ago
ffbb0658be
Adding Architecture to README.md
5 months ago
091c7caa7b
Task 4 code
5 months ago
9d7979c536
application
6 months ago
ffbb0658be
Adding Architecture to README.md
5 months ago
81bf5ff505
Adding README.md for usage instructions
5 months ago
091c7caa7b
Task 4 code
5 months ago

README.md

You have to be logged in to leave a comment. Sign In

Architecture

This is the architecture.

Below are the instructions on running the task 4 code

Prerequisite

  1. Python is installed with version >= 3.10
  2. Pip is installed with version >= 22.0.2
  3. Gemini API key is avaialble if not please create using this link

Changes that are required before running the script

  1. Add your API_KEY in question_generator.py and response_evaluator.py files present under agents directory
  2. Change the path (line 6) present in duckdb.py file to point to the dataset directory
  3. Change the CHROM_PERSISTENT_PATH (line 7) present in chromadb.py file to the location of chroma persistence

How to use

  1. In main.py file change the company and profile variable accordingly
  2. Make sure you have made all the necessary changes mentioned above
  3. Run the main.py file and input the user response audio file path whenever asked for user input based on the question.
  4. Once all questions are answered a list of dictionary with Question,User Response and Feedback will be generated

Further improvments

  1. main.py file should be modified accordingly to integrate with Streamlit UI
  2. Common configuration file can be made to make all the changes at once
  3. LLM prompts can be enhanced to provide more detailed evaluation or relevant questions
  4. Speech to Text and Text to Speech tasks can be asynchronous as these are consuming considerable amount of time
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...