Inspiration

What if you could chat with philosophers of old times? with this statement, we decided that it would be a great idea to make a comedic Socrates chatbot, which answers questions with more questions. It is both a parody on the rush for smarter AI systems, and an accurate representation of how socrates would speak.

What it does

It allows users to directly ask questions to Socrates, and receive back answers from him, most likely further probing into the question the user asks. (better classified as ragebaiting the user)

How we built it

We connected a basic web frontend to a Node.js backend, which sends and receives answers from Gemini-2.5, using a system prompt, and resending all of the history.

Challenges we ran into

Gemini enforces all inquiries to be made from a backend in order to protect their api keys, so we had to pivot from a full frontend project to running a small server.

Accomplishments that we're proud of

We were able to produce a synchronized previous chat system connecting the front end to a History class system, where all previous chats are available to be viewed/continued by the user, and are saved to the browser.

What we learned

we were able to further develop our skills in JavaScript and CSS with this project, and gained experience in designing a system built on interconnected modules.

What's next for Socrates AI

If we were to continue working on this, the next steps would be creating a user profile system, where chats are instead saved to the server instead of the browser.

Built With

Share this project:

Updates