ansari-project / ansari-backend

Ansari is an AI assistant to help Muslims practice more effectively and non-Muslims to understand Islam
78 stars 14 forks source link

Integrate Prayer Times into Ansari #8

Open waleedkadous opened 1 year ago

waleedkadous commented 1 year ago

Difficulty: Medium Est time: 20 hours

PyIslam provides excellent support for prayer time calculation in Python. However, integrating it is a bit tricky because

Once we have support for use of function templates the goal of this project would be to integrate prayer times into the Ansari experience.

MohammedAlsayed commented 9 months ago

How will the Prayer time contribute to the chatbot? is there any range of questions you're trying to cover? I will try working on this one.

waleedkadous commented 9 months ago

Thank you for volunteering!

This would be a new tool (alongside search_quran and search_hadith). It would have a function schema that is basically:

Given this it would return a string: fajr

The idea is that it would use the pyislam library (https://github.com/abougouffa/pyIslam)

Hamzenium commented 9 months ago

Asalam Waleed, I would like to work on this, can you assign me this task.

abdullah-alnahas commented 4 months ago

Salam everyone,

I believe the main reason users visit ansari.chat is to ask questions about Islam. With that in mind, I suggest we focus our efforts on improving the quality of answers and the overall user experience. I'd like to close this issue to help organize the repo better. If anyone disagrees, please feel free to reopen it.

May Allah reward you!

waleedkadous commented 1 week ago

I understand this perspective. However, we have explicit user feedback requesting it, so unclosing this.