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

Javascript Support #46

Open
stephenasuncionDEV opened this issue May 19, 2023 · 5 comments
Open

Javascript Support #46

stephenasuncionDEV opened this issue May 19, 2023 · 5 comments

Comments

@stephenasuncionDEV
Copy link

Is your feature request related to a problem? Please describe.
JavaScript support is currently not available.

Describe the solution you'd like
I would like to request JavaScript support.

Describe alternatives you've considered
I have considered using alternative libraries or frameworks to achieve similar functionality in JavaScript like langchainjs and my own version. However, the Guidance library stands out due to its specific features and capabilities.

@yermie
Copy link

yermie commented May 24, 2023

Another benefit of JS would be first-class support of js templating languages along with custom helpers instead of the limited, pythonic implementation as included in this library.

I also would encourage use of mustache.js instead of handlebars.js.

Part of the power of guidance is that we can create custom logic to guide responses. Better capabilities of template logic is inline with that mission.

@LevanKvirkvelia
Copy link

Just made a port for the library: https://github.com/LevanKvirkvelia/salute

@K0IN
Copy link

K0IN commented Jun 5, 2023

I like salute but its not a replacement, salute is using code to represent template control structures.

while guidance uses a custom language, which can be easily serialized.

I would still like a 1to1 (syntax) port.

@marcotcr
Copy link
Collaborator

marcotcr commented Jun 6, 2023

We have no plans to implement a js version, but as soon as we get server support going it should be easy to call guidance from js

@abosaiftaha
Copy link

abosaiftaha commented Jun 8, 2023

@stephenasuncionDEV
I found this Package yesterday, It seems to be in an early stage but I found it very useful:
https://github.com/Yawanseh/guidescript

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

6 participants