genaiscript/runtime
expansion?
#1293
CoffeeAtBedtime
started this conversation in
General
Replies: 1 comment 7 replies
-
Yes support for running outside the "cli" is possible but you can rely on the global types anymore. Well, should be doable. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself building classes that my genaiscripts use like the one below and importing them and newing them up to build more deterministic code alongside the genaiscript goodies with very reliable structured outputs. I've had success making the "agent" classes export types, use parsers, tools and send back structured outputs from
runPrompt
thanks to the runPrompt options.It'd be so cool to build a Vue application and accept user inputs and continue to integrate genaiscript code in this way by importing something like the runtime. The api
run
offers running a script and getting the response but not as integrated. However if I go this route presently the genaiscript itself needs to be the entry point.scribe.mts
Beta Was this translation helpful? Give feedback.
All reactions