«


AI ChatBot

This fitness chatbot provides personalised advice on fitness and wellness. The backend uses a Flask Python application that interfaces with the OpenAI API to deliver fitness recommendations.

Chatbot Functionality

The chatbot uses the OpenAI API for natural language processing, enabling it to understand and respond to user inquiries effectively.

Training the Chatbot for more relevant and personalised responses

The chatbot has been trained to deliver relevant and personalised responses within the domain of fitness.

Key features of the chatbot training include:

  • Fitness-Focused Context:The chatbot is trained with a broad scope fitness-related information, enabling it to provide comprehensive answers.
  • Contextual Relevance: In the backend, a data management system has been implemented to allow the chatbot to analyse the context of the conversation to maintain relevance in its responses. It uses a sophisticated algorithm to understand and retain the flow of conversation, ensuring that each response builds upon the previous ones.
  • Non-Fitness Query Handling: If a user asks a non-fitness related question, the chatbot politely redirects the conversation by responding with, "Sorry, I am a fitness chatbot - please ask me a fitness related question." This ensures that the chatbot remains focused and provides value within its expertise.
  • Follow-Up Information: For users seeking additional details, the chatbot is capable of expanding on previous responses. If a user requests more information, the chatbot offers further insights and elaboration related to the initial query, enhancing the user's understanding and engagement.
  • Satisfaction and Further Inquiry: When a user employs a 'closing term' indicating satisfaction with the chatbot's response, the chatbot proactively asks, "Do you have any further questions?" This feature ensures that the user feels supported and has the opportunity to seek additional information or clarification.

Integration

The Flask-based backend functions seamlessly with the React front-end, providing a smooth and responsive user experience.

You can interact with the fitness chatbot by clicking the 'Chat with Us Now' button in the bottom right-hand corner of this page.

See key information below including links to the repositories and technologies used.