alnutile / larachain

PHP + Laravel to create a workflow like https://github.com/hwchase17/langchain
MIT License
99 stars 19 forks source link

Some questions #29

Open LarsWiegers opened 1 year ago

LarsWiegers commented 1 year ago

Hi @alnutile!

Awesome project, love to see you moving in this direction and I believe it is quite an important one! I have some questions around the project to see if it will be useful for me / others.

You currently base the project upon jetstream which locks us into your own UI / project template / hierarchy.

alnutile commented 1 year ago

Great questions

  1. The UI is just easy for me to crank out work and not think about it. But anyone can fork the project and put the ui they want. For example I have not done anything about making a public UI (anonymous user etc) but someone could easily use whatever they want. In someways I think LaraChain is a good backend starting point to getting going with your data and an LLM especially as I make time to make that part more agnostic.

  2. For sure. There are generators and artisan commands (they are a bit rough still) to make instant sources, transformers and response types. Looks like my docs are falling short there will make that a task. But basically here https://github.com/alnutile/larachain/tree/main/app/Console/Commands/Generators are the commands. Good example of the UI being tightly coupled since they assume Inertia and JetStream. Thanks

LarsWiegers commented 1 year ago

Thanks for the quick response! I will definitely keep checking up on the project in the future :)