diff --git a/apps/ollama/README.md b/apps/ollama/README.md new file mode 100644 index 00000000..709b48a6 --- /dev/null +++ b/apps/ollama/README.md @@ -0,0 +1,9 @@ +# ollama + +**Ollama** 是一个开源的大型语言模型服务,提供了类似 OpenAI 的 API 接口和聊天界面,可以非常方便地部署最新版本的 GPT 模型并通过接口使用。支持热加载模型文件,无需重新启动即可切换不同的模型。 + +## 优势: + +- 提供类似OpenAI的简单内容生成接口,极易上手使用; +- 类似ChatGPT的的聊天界面,无需开发直接与模型聊天; +- 支持热切换模型,灵活多变。 \ No newline at end of file diff --git a/apps/ollama/data.yml b/apps/ollama/data.yml new file mode 100644 index 00000000..38682e64 --- /dev/null +++ b/apps/ollama/data.yml @@ -0,0 +1,20 @@ +name: Ollama +tags: + - AI +title: 启动并运行 Llama 2、Mistral、Gemma 和其他大型语言模型 +type: AI +description: 启动并运行 Llama 2、Mistral、Gemma 和其他大型语言模型 +additionalProperties: + key: ollama + name: Ollama + tags: + - AI + shortDescZh: 启动并运行 Llama 2、Mistral、Gemma 和其他大型语言模型 + shortDescEn: Get up and running with Llama 2, Mistral, Gemma, and other large language models + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://ollama.com/ + github: https://github.com/ollama/ollama + document: https://github.com/ollama/ollama/blob/main/docs/README.md diff --git a/apps/ollama/latest/data.yml b/apps/ollama/latest/data.yml new file mode 100644 index 00000000..3c2cda04 --- /dev/null +++ b/apps/ollama/latest/data.yml @@ -0,0 +1,10 @@ +additionalProperties: + formFields: + - default: 11434 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number \ No newline at end of file diff --git a/apps/ollama/latest/docker-compose.yml b/apps/ollama/latest/docker-compose.yml new file mode 100644 index 00000000..f9ea72b5 --- /dev/null +++ b/apps/ollama/latest/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + ollama: + image: ollama/ollama:latest + container_name: ${CONTAINER_NAME} + restart: unless-stopped + ports: + - ${PANEL_APP_PORT_HTTP}:11434 + networks: + - 1panel-network + tty: true + volumes: + - ./data:/root/.ollama + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/ollama/logo.png b/apps/ollama/logo.png new file mode 100644 index 00000000..2bfbe7ae Binary files /dev/null and b/apps/ollama/logo.png differ