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

Calling GenAIScript from inside my own app #875

Open
sahuguet opened this issue Nov 19, 2024 · 3 comments
Open

Calling GenAIScript from inside my own app #875

sahuguet opened this issue Nov 19, 2024 · 3 comments

Comments

@sahuguet
Copy link
Contributor

I am a big fan of GenAIScript.
It is like having a a spell book at your fingertips.

I am fine with the CLI interface. But I can see a lot of value for less technical users who need to perform common tasks like summarization of local documents, summarization of news every day, etc.

For this kind of users, VS Code is going to be overkill.

Is it possible to build an app (I am thinking Electron, but it could be more lightweight) that provides an interface on top of GenAIScript.

  • one could drag and drop some files and then run a GenAIScript.
  • one could organize their scripts (I mean spells), local and/or remote, and run them
  • the app could even provide some kind of cron functionality

Totally crazy?
Totally out of scope?

@pelikhan
Copy link
Member

pelikhan commented Nov 19, 2024

Definitely in scope.

One possible options we were thinking about was to provide a builtin web frontend with the server that would provide a simple gradiolike interface for all scanned prompts in the repo. Basically, we would mount a HTML form based on the script parametesr + something special to select files, and render the output/trace.

That way, a non-expert user would easily be able to run the scripts without any knownledge of vscode.

@pelikhan
Copy link
Member

Open to suggestions!

@sahuguet
Copy link
Contributor Author

For Electron or https://www.electrobun.dev/ which looks interesting too.

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