mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 05:06:12 +08:00
feat: 新增 Ollama (#1089)
This commit is contained in:
parent
15c4111942
commit
99fb4a5e14
9
apps/ollama/README.md
Normal file
9
apps/ollama/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# ollama
|
||||||
|
|
||||||
|
**Ollama** 是一个开源的大型语言模型服务,提供了类似 OpenAI 的 API 接口和聊天界面,可以非常方便地部署最新版本的 GPT 模型并通过接口使用。支持热加载模型文件,无需重新启动即可切换不同的模型。
|
||||||
|
|
||||||
|
## 优势:
|
||||||
|
|
||||||
|
- 提供类似OpenAI的简单内容生成接口,极易上手使用;
|
||||||
|
- 类似ChatGPT的的聊天界面,无需开发直接与模型聊天;
|
||||||
|
- 支持热切换模型,灵活多变。
|
20
apps/ollama/data.yml
Normal file
20
apps/ollama/data.yml
Normal file
@ -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
|
10
apps/ollama/latest/data.yml
Normal file
10
apps/ollama/latest/data.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 11434
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
18
apps/ollama/latest/docker-compose.yml
Normal file
18
apps/ollama/latest/docker-compose.yml
Normal file
@ -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
|
BIN
apps/ollama/logo.png
Normal file
BIN
apps/ollama/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in New Issue
Block a user