sobelio / llm-chain

`llm-chain` is a powerful rust crate for building chains in large language models allowing you to summarise text and complete complex tasks
https://llm-chain.xyz
MIT License
1.3k stars 128 forks source link

opt_extract returns result #186

Closed Juzov closed 1 year ago

Juzov commented 1 year ago

Added some error handling for opt_extract

Not getting the env variables to work though. I'm assuming it has something with the model not being a string @williamhogman, maybe you can help me out here?

Juzov commented 1 year ago

fixed env loading mechanism. $v:upper:snake returned LLM_MODEL_v_a_r changed it to $v:snake:upper which generates LLM_MODEL_VAR