docker/hello-genai
关于
Very simple GenAI application to try the Docker Model Runner
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文hello-genai
A simple chatbot web application built in Go, Python and Node.js that connects to a local LLM service (llama.cpp) to provide AI-powered responses.
Environment Variables
The application uses the following environment variables defined in the .env file:
LLM_BASE_URL: The base URL of the LLM APILLM_MODEL_NAME: The model name to use
To change these settings, simply edit the .env file in the root directory of the project.
Quick Start
Clone the repository:
git clone https://github.com/docker/hello-genai cd hello-genaiStart the application using Docker Compose:
docker compose upOpen your browser and visit the following links:
http://localhost:8080 for the GenAI Application in Go
http://localhost:8081 for the GenAI Application in Python
http://localhost:8082 for the GenAI Application in Node
http://localhost:8083 for the GenAI Application in Rust
Requirements
- macOS (recent version)
- Either:
- Docker and Docker Compose (preferred)
- Go 1.21 or later
- Local LLM server
If you're using a different LLM server configuration, you may need to modify the.env file.
探索相关项目
加载中…