lastmile-ai / aiconfig

AIConfig is a config-based framework to build generative AI applications.
https://aiconfig.lastmileai.dev
MIT License
949 stars 79 forks source link

Combine config.run + config.get_output_text for efficient chaining #142

Open tanya-rai opened 11 months ago

tanya-rai commented 11 months ago

I almost always need the text output after running inference to use for chaining (supported in AI Workbooks). Would love to have these two functions combined instead of always having to do this:

verification_completion = await config.run("verification", params)
verification_response = config.get_output_text("verification")
jonathanlastmileai commented 10 months ago

Similar to 143, might be part of a bigger redesign.