Giter Club home page Giter Club logo

talk-with-me_api's Introduction

๐Ÿšง This is a POC ๐Ÿšง

This project comes alongside an article that I am still currently writing, here is its introduction:

A few weeks ago, I started playing on a Minecraft server. To have a new player-experience, I searched for new mods and I came across the Neighborly mod. Neighborly is a really nice mod where you have some "friends" in your world. they all have a uniq personality and we can interact with them by giving them gifts or building them a house. I had a lot of fun playing with this mod but after a while, I found all of them and built a house for each one and the fun kinda stopped. That's when I had an idea.

Everyone speaks about LLMs and artificial intelligence in general. They offer endless possibilities and the ecosystem around them was growing. What about using them to manipulate the entities of the Neighborly mod ? so the big question was: Can IA be creative enough to interpret a character with a uniq personality and how ?

I used this repo to test stuffs. Lately I used it to play with Langchain.

Repositories:

I will migrate to a monorepo soon

  • API (SpringBoot3 / Java21)
  • WebClient (Nuxt3)
  • Some other repos but too ugly to be public yet

App architecture

Arch

Software architecture

The software architecture is bad, I was testing new things and kinda got lost. It surely can be improved.

Currently, I can:

  • Create a new companion with a background
  • Have a conversation with a companion that will have a personality based on the background
  • History is persisted
  • A summary is created from the history to avoid sending the history for each request

Dialog flow

Arch

Next steps:

  • Integrate all repos in a monorepo (probably maven since it's mostly Java but ideally this will be used by a Minecraft mod so also probably gradle and I really like NX so probably NX)
  • Implement the CRUD on the web-client side.
  • Add auth (probably with Auth0)
  • Deploy (Idk where yet, but I'll probably just provide the docker images and a docker-compose file)
  • Finishing the article on the subject
  • A lot more, I have a lot of ideas on this subject

talk-with-me_api's People

Contributors

anthony-jhoiro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.