Comments (9)
groq的API兼容openai格式,渠道API地址写 https://api.groq.com/openai 即可
from one-api.
@KrabsWong 像这样即可,在使用的时候在对应的客户端填入 custom model name mixtral-8x7b-32768
from one-api.
groq的API兼容openai格式,渠道API地址写 https://api.groq.com/openai 即可
👍 确实可以用,估记我昨天测试的时候填错了
from one-api.
groq的API兼容openai格式,渠道API地址写 https://api.groq.com/openai 即可
请问是选择自定义渠道然后设置 baseUrl 为 https://api.grpq.com/openai 吗?
我试了下这个方案,测试接口提示
错误:status code 404: The model
gpt-3.5-turbo
does not exist or you do not have access to it.
也尝试了直接选择 openai 的渠道类型,然后代理地址设置为 https://api.groq.com/openai 也是报一样错误。
是不是那里设置不太对呀?
from one-api.
groq的API兼容openai格式,渠道API地址写 https://api.groq.com/openai 即可
请问是选择自定义渠道然后设置 baseUrl 为 https://api.grpq.com/openai 吗? 我试了下这个方案,测试接口提示
错误:status code 404: The model
gpt-3.5-turbo
does not exist or you do not have access to it.也尝试了直接选择 openai 的渠道类型,然后代理地址设置为 https://api.groq.com/openai 也是报一样错误。 是不是那里设置不太对呀?
你需要配置模型为 mixtral-8x7b-32768
或 llama2-70b-4096
。
from one-api.
groq的API兼容openai格式,渠道API地址写 https://api.groq.com/openai 即可
请问是选择自定义渠道然后设置 baseUrl 为 https://api.grpq.com/openai 吗? 我试了下这个方案,测试接口提示
错误:status code 404: The model
gpt-3.5-turbo
does not exist or you do not have access to it.也尝试了直接选择 openai 的渠道类型,然后代理地址设置为 https://api.groq.com/openai 也是报一样错误。 是不是那里设置不太对呀?
你需要配置模型为
mixtral-8x7b-32768
或llama2-70b-4096
。
from one-api.
@KrabsWong 像这样即可,在使用的时候在对应的客户端填入 custom model name `mixtral-8x7b-32768`
明白了,感谢
from one-api.
@KrabsWong 像这样即可,在使用的时候在对应的客户端填入 custom model name `mixtral-8x7b-32768`
@jiz4oh 使用第三方客户端,出现这样的错误:(直接填写Groq的key到客户端就能正常使用)
"error": {
"message": "tools
is not supported with this model (request id: 2024030808155972780750603165139)",
"type": "invalid_request_error",
"param": "",
"code": null
from one-api.
@jiz4oh 使用第三方客户端,出现这样的错误:(直接填写Groq的key到客户端就能正常使用) "error": { "message": "
tools
is not supported with this model (request id: 2024030808155972780750603165139)", "type": "invalid_request_error", "param": "", "code": null
Groq 使用的 mixtral 和 llama2 不支持插件调用
from one-api.
Related Issues (20)
- 图片生成dall-e-3巨大Bug!引发size not supported for this image model HOT 4
- 访问api/models接口404
- default用户可以调用到vip令牌 HOT 3
- 对接讯飞星火v3.5测试提示invalid auth HOT 1
- 新注册提示验证码过期或者错误
- SYNC_FREQUENCY not set, Redis is disabled
- 希望可以代理Mathpix接口
- 使用vllm离线运行本地大模型,建立one-api渠道,显示测试无法接通。 HOT 4
- Gemini-1.5-pro出错 HOT 10
- 希望增加 gemini-1.0-ultra-latest 模型的支持 HOT 2
- UX小建议 - 本地缓存下渠道排序 HOT 3
- 阿里的模型,导入成功测试成功,怎么使用聊天啊,虚心求教 HOT 3
- 使用Redis后,用户余额缓存问题。
- LLM api response empty HOT 3
- 希望增加通过自定义模型名来轮询不同的国内AI服务商 HOT 5
- openai和claude的参数兼容 HOT 2
- 请支持阿里千文的FUNCTION调用 HOT 4
- 对接sunoapi HOT 1
- how to fix: react must be in scope when using JSX issue
- 为何对于 Claude 要默认带 max_tokens 参数? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-api.