Spaces:
Build error
Build error
metadata
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:
CSVLoader
: This class will have methods for uploading CSV files and converting them into pandas dataframes with the required structure.EmbeddingGenerator
: This class will have a method for generating embeddings for the data using the SentenceTransformer model.ChromaDBIndexer
: This class will have methods for creating a chroma db index and uploading the generated embeddings to the index.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.AnswerPresenter
: This class will have methods for presenting the answers returned from TAPAS in the UI and executing any suggested aggregator functions.run.sh
: This is the entrypoint of the program. It will start the application and handle any command line arguments.requirements.txt
: This file will list all the Python package dependencies for the application.