OpenUI let’s you describe UI using your imagination, then see it rendered live.
Building UI components can be a slog. OpenUI aims to make the process fun, fast, and flexible. It’s also a tool we’re using at W&B to test and prototype our next generation tooling for building powerful applications on top of LLM’s.
环境准备:
在你的系统中安装好Python 及 Git 、Ollama
ollama安装很简单,上ollama.ai下载,再用ollama下载相应的LLM就可以了。
安装运行步骤:
git clone https://github.com/wandb/openui
cd openui/backend
pip install .
$env:OPENAI_API_KEY=”随意填写”
#这里我们使用本地ollama,不需要真的openai api key,随意填写就行了
python -m openui
超级简单的,OpenUI还有docker方式部署,这里不展示。