Skip to content

FirstPrinciples: The AI Learning Roadmap Generator #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

william-Dic
Copy link

Description

This contribution introduces the FirstPrinciples App, a full-stack application that acts as an AI-powered learning roadmap generator. It uses a conversational approach to help users narrow down their learning goals and provides them with a personalized, step-by-step learning plan.

Type of Contribution

  • Example Tutorial
  • Showcase Project
  • Article/Integration Guide
  • Documentation Update
  • Bug Fix
  • Other (please describe)

Checklist

  • My code follows the cookbook's style guidelines
  • I have included comprehensive documentation
  • I have tested my code and it works as expected
  • I have included all necessary dependencies and setup instructions
  • My MDX file includes proper frontmatter (title, description, keywords)
  • I have linked to any external repositories or live demos

Project Details

What problem does this solve?
This project solves the problem of information overload and a lack of direction for learners. Users often have a general topic they want to learn (e.g., "learn about machine learning") but don't know where to begin. The FirstPrinciples App addresses this by acting as a learning coach, engaging in a dialogue to identify specific needs and then generating a structured, actionable roadmap.

What makes this contribution valuable to other developers?
This contribution is valuable because it provides a complete, end-to-end example of how to build a full-stack application using the Perplexity and OpenAI APIs. It demonstrates:

  • Integrating a conversational AI flow into a React frontend.
  • Using a Flask backend to manage API calls and session state.
  • Combining different AI models to achieve a specific user-facing goal.
  • Building a practical, real-world application that goes beyond a simple chat interface.

External Links (if applicable):

Testing

I have manually tested the application's functionality. The tests included:

  • Verifying that the Flask server and React client run locally without errors.
  • Confirming that the chat interface can successfully send prompts to the backend.
  • Checking that the AI responds with relevant, conversational questions.
  • Ensuring that a final learning roadmap is generated after sufficient information has been gathered.

Screenshots (if applicable)

A demo GIF is available at the link provided in the "External Links" section, which visually demonstrates the user flow from chat to roadmap generation.

Additional Notes

This project can serve as a great template for developers looking to build conversational AI applications with a clear, goal-oriented purpose. The use of Perplexity's API for the core conversational logic highlights its power in creating interactive user experiences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant