[feat] preliminary completion ollama chat.

This commit is contained in:
dmd
2024-06-10 21:44:41 +08:00
parent d6a04f96fe
commit 8443a3c8b4
7 changed files with 353 additions and 8 deletions

View File

@@ -174,6 +174,11 @@ const platforms = ref([
value: "QWen",
api_url: "https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation"
},
{
name: "【Meta】Ollama",
value: "Ollama",
api_url: "http://localhost:8080/ollama/api/generate"
},
])
const types = ref([
{name: "聊天", value: "chat"},

View File

@@ -221,6 +221,7 @@ const platforms = ref([
{name: "百度文心一言", value: "Baidu"},
{name: "微软Azure", value: "Azure"},
{name: "阿里通义千问", value: "QWen"},
{name: "MetaOllama", value: "Ollama"},
])