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.35k stars 130 forks source link

llm-chain-openai: fix #118, and support organization IDs #119

Closed AnthonyMichaelTDM closed 1 year ago

AnthonyMichaelTDM commented 1 year ago

fixes #118

fix the issue where the Executor returned by for_client didn't implement the Executor type

the new_with_options function will set the clients org_id if a OPENAI_ORG_ID environment variable is present

AnthonyMichaelTDM commented 1 year ago

oh btw, a lot of things change if I run cargo fmt ..., I can do a separate PR for that if you'd like.

williamhogman commented 1 year ago

Yes please that would be great :)