I'd like to share useLLM, an open-source library I've been working on to help developers easily integrate large language models like OpenAI's ChatGPT into their React applications.
useLLM is a simple React hook, with a server-side API helper, that allows you to add LLM-powered functionality to your app with just a few lines of code. It also supports message streaming & custom prompt creation out of the box.You can try a live demo here: https://usellm.org/demo
The library is under active development, and we welcome bug reports, feature requests, and contributions. It currently supports OpenAI's chat completions API, and we plan to add more language models and APIs soon.
I'd be happy to answer any questions or discuss potential use cases.