Skip to content

salihmarangoz/faq_question_answer_similarity_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAQ Question Answer Similarity Search

While browsing the FAQ section of the Pegasus Airlines website, implementing a simple search app came to my mind. Works pretty fast.

  • Model: clips/mfaq
  • Data Source: flypgs.com
    • Disclaimer: I hereby declare that I have no association or affiliation with Pegasus Airlines. Furthermore, any data collected from the flypgs.com website is not owned or attributable to me.

screenshot

Install

$ sudo apt install python3.10-venv
$ python3.10 -m venv venv
$ source venv/bin/activate
$ pip install -U pip
$ pip install sentence-transformers transformers

Run

$ source venv/bin/activate
# On GPU:
$ python app.py
# On CPU:
$ CUDA_VISIBLE_DEVICES= python app.py

Some questions to ask:

  • How to check in?
  • What is my baggage allowance?
  • How to cancel flights?
  • I have a dog with me
  • Do I have to buy a ticket for my baby?

About

Experiment with clips/mfaq on an airlines faq data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages