TAPASxHF2 / README.md
jskinner215's picture
Update README.md
184b40d
---
title: TAPASxHF2
emoji: πŸš€
colorFrom: yellow
colorTo: blue
sdk: streamlit
sdk_version: 1.26.0
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Here are the main classes, functions, and methods that will be implemented:
1. `CSVLoader`: This class will have methods for uploading CSV files and converting them into pandas dataframes with the required structure.
2. `EmbeddingGenerator`: This class will have a method for generating embeddings for the data using the SentenceTransformer model.
3. `ChromaDBIndexer`: This class will have methods for creating a chroma db index and uploading the generated embeddings to the index.
4. `QuestionAnswerer`: This class will have methods for processing user's queries, querying the chroma db for the relevant table, and running the table and query through the TAPAS pipeline for answering.
5. `AnswerPresenter`: This class will have methods for presenting the answers returned from TAPAS in the UI and executing any suggested aggregator functions.
6. `run.sh`: This is the entrypoint of the program. It will start the application and handle any command line arguments.
7. `requirements.txt`: This file will list all the Python package dependencies for the application.