Skip to content
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

Impressive, but I don't get the Vue-Django link #3

Open
j2l opened this issue Mar 26, 2024 · 2 comments
Open

Impressive, but I don't get the Vue-Django link #3

j2l opened this issue Mar 26, 2024 · 2 comments

Comments

@j2l
Copy link

j2l commented Mar 26, 2024

Hi there,
Very nice project, I love the idea!
After download and using your (great!) make routines, I had my first Emencia generated email.
As a former marketing director myself, it's impressive (and maybe too long) 😄

I can see the Django LM tasks table, but I see the Demo page is hard coded, not linked to Django DB LM tasks.
I wonder why it's not linked.
What is the use of Django, besides the generate view?

Bonne journée à toute votre équipe !

@synw
Copy link
Collaborator

synw commented Mar 26, 2024

Hi, thanks for your interest. You are right that the demo page is just hardcoded for now. This project has essentially been a demo, and started like that. The lm tasks table you can see is an early prototype for the idea of getting a database of well crafted prompts. This could then be used by the frontend with an api.

It would need more work to design the database and api more carefully: a task is the association between a model, a prompt, a prompt template and some inference parameters. To be efficient the storage has to be template agnostic, and support few shots prompting. The tasks would also need some classification system as well

Once there will be a proper tasks api we could then use it with frontend inference apps, like my gui here: https://github.com/synw/infergui . Vue is used here but it does not matter, it could be any js based app

What do you think about the idea of starting a proper language models tasks database using Django?

@j2l
Copy link
Author

j2l commented Mar 27, 2024

Thank you @synw

What do you think about the idea of starting a proper language models tasks database using Django?

I'd love to see this happen, but I think I'm not enough into code to be able to help 😞 .

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

No branches or pull requests

2 participants