DEV Community

PranavMunigala
PranavMunigala

Posted on

Breaking Down Basketball Terms with AI (Beginner Project Series)

Hello,

In my last post, I shared the first project in my beginner series where I’m learning how to incorporate AI into Python coding by connecting it with something I love: basketball. My second project builds on that idea — it's a basketball jargon explainer.

This app allows users to enter a basketball term, and with the click of a button, it returns a beginner-friendly definition generated by AI.

Tools I Used:

  • Streamlit for creating the interactive web interface
  • LangChain to structure and manage the language model prompt
  • OpenAI’s GPT-3.5 Turbo for generating the explanations
  • Python-dotenv to securely manage my API key

I’m continuing to explore ways to make learning and building with AI both fun and practical. Feedback or suggestions are always welcome. Thanks for following along.

Youtube Video on how it works: https://youtu.be/6mS_SNhxR_4

Image description

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.