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

Updated Docs, adding information about how use apikey without enviroment variable. #297

Closed shashankleanmvp closed 1 month ago

shashankleanmvp commented 1 month ago

Good Morning Sir,

I have been exploring the llm-chains project and, although I am new to Rust (just started learning about 4 hours ago through a tutorial), I found something that might be useful. I noticed that the current instructions suggest setting a single API key as an environment variable. However, I needed to implement a round-robin mechanism to use a cluster of API keys.

While reviewing the code, I found guidance on how to do this in the comment section, which was very helpful. I believe that adding this information to the documentation would make it more accessible to other users.

Therefore, I have updated the documentation to include instructions on setting up and using multiple API keys. I hope you find this addition valuable and that it will be merged into the main branch.

Thank you for your time and consideration.

Best regards,