sport-chatbot / README.md
bhanumitt's picture
Edited requirements.txt
b55e0b8

A newer version of the Gradio SDK is available: 5.15.0

Upgrade
metadata
title: Sports Chatbot
emoji: πŸ€
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.4.0
app_file: app.py
pinned: false

Sports Chatbot

This is a sports-focused chatbot that can answer questions about Ice Hockey, Baseball, American Football, Soccer, and Basketball. The chatbot uses the ESPN API data and is powered by a RAG (Retrieval-Augmented Generation) system with Mistral-7B.

Features

  • Answers questions about multiple sports
  • Uses up-to-date ESPN API data
  • Powered by Mistral-7B model
  • Retrieval-augmented generation for accurate responses

Usage

  1. Type your sports-related question in the text box.
  2. Click "Get Answer" or press Enter.
  3. Wait for the response to be generated.

Examples

Try asking questions like:

  • "Who won the NBA championship in 2023?"
  • "What are the basic rules of ice hockey?"
  • "Tell me about the NFL playoffs format."

Limitations

  • The knowledge base is limited to ESPN API data.
  • Responses may take a few seconds to generate.
  • Only covers the five major sports mentioned above.

Technical Details

The application uses:

  • Gradio for the interface
  • Sentence Transformers for embedding generation
  • Mistral-7B (GGUF) for text generation
  • RAG pipeline for context-aware responses