LlamaAcademy
LlamaAcademy copied to clipboard
Can I use it to learn it how to code in svelte?
I found your project by a youtube channel named WorldofAI , and it seems awesome! I have used autogpt, and I wanted to learn it code in svelte framework. With specific prompts, I even place a plan for it to follow:
The plan to make a working login page with functionality and error handlings:
- learn how to run node js code or system code inside python using subprocess
- write a sample run.py with that knowledge of previous step
- learn svelte using the web
- learn how to create a svelte project by using this link: 'https://www.section.io/engineering-education/svelte-with-vite-typescript-and-tailwind-css/'
- create a sample svelte project
- write a py file which runs a sample echo on the terminal 'hello world'.
- extend the written py file to run
pnpm install
inside of the created sample svelete project - make sure that node_module folder is created inside the project directory
- make another py file which runs
pnpm dev
to run the project - check whether a new process is created and is up on the desired port
- make a simple login page with two inputs username and password and a button with text login
- make a mock server which accepts post requests on
/success
path - on that path server accepts a json with username and password, and checks whether both values are equal to 'admin' and responds 200 if it's ok, and 401 if not
- interact with user with sending fake username and password to a mock server
- handling errors with those interactions
- login with username admin and password admin and show appropriate welcoming message
- re route to main page which is
/
but It is not following the path accordingly, making silly descions and not correct itself. Does your project is more suitable to train my ai in order to program in javascript? Thanks !
Hey I don't think this repo really works for your use case. You could potentially use this repo train Vicuna on svelte doc, but for your use case you can probably just use ChatGPT.
This repo is more if you want to host your own fine-tuned LLM on your docs.