From e6dc16a1b4a4c6ad5c8db32fc0b6562f8d10254e Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Tue, 9 Jul 2024 12:21:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20add=20groq=20tools=20cal?= =?UTF-8?q?ling=20(#3171)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add groq * add groq * 📝 docs: add groq tools calling * add groq --- docs/usage/tools-calling/groq.zh-CN.mdx | 176 +++++++++++++++++- src/libs/agent-runtime/utils/debugStream.ts | 5 + .../utils/openaiCompatibleFactory/index.ts | 5 +- 3 files changed, 179 insertions(+), 7 deletions(-) diff --git a/docs/usage/tools-calling/groq.zh-CN.mdx b/docs/usage/tools-calling/groq.zh-CN.mdx index 061b5ae4dfe8..7649eea9dd9e 100644 --- a/docs/usage/tools-calling/groq.zh-CN.mdx +++ b/docs/usage/tools-calling/groq.zh-CN.mdx @@ -2,14 +2,182 @@ title: Groq Tool Calling --- -# Groq Tool Calling +# Groq 平台模型 Tools Calling 评测(Llama 3/Mistral) -## LLAMA3-70B + + 由于 Groq 本身不支持 stream,因此 Tools Calling 的调用是普通请求。 + -TODO +Groq 平台的模型 Tools Calling 能力一览: + +| 模型 | 支持 Tools Calling | 流式 (Stream) | 并发(Parallel) | 简单指令得分 | 复杂指令 | +| ------------ | ------------------ | --------------- | ---------------- | ------------ | -------- | +| LLAMA3 70B | ✅ | ❌ | ✅ | 🌟🌟 | 🌟🌟 | +| LLAMA3 8B | ✅ | ❌ | ✅ | 🌟🌟 | 🌟 | +| Mixtral-8x7B | ✅ | ❌ | ✅ | ⛔ | 🌟🌟 | + + +## LLAMA3 70B + +### 简单调用指令:天气查询 + +测试指令:指令 ① + +