I have built a bot, so basically it answer the queries of the customer from the basis of the data in pdf but the issue is the replies are not accurate enough they are vague and it looks like the assistant is not smart enough to provide the relevant information, understand the query of the customer
Technologies Used
Python Libraries:
- Streamlit: For building the web interface.
- pdfplumber: For extracting text from PDF files.
- scikit-learn: For TF-IDF vectorization and cosine similarity.
- transformers: For integrating a free Hugging Face language model (flan-t5-small).
Other Tools:
- Hugging Face Models: For text generation.
- PyTorch: Backend for running the Hugging Face model.
[link] [comments]