-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请求perplexity api 支持 #743
Comments
+1 |
球球牛逼的大佬支持一下,很需要这个功能 |
the same issue, need help~ |
确实很有需求,希望增加支持~ |
+1 |
这个格式看上去就是 OpenAI 的格式哦,使用自定义渠道功能不可以么? |
实测了一下使用自定义渠道确实不可以,但是官方的调用规则跟openai是一致的,添加自定义渠道后进行渠道测试,报错代码404 |
+1 |
本周末忘记这回事情了,如果只是path不一致请求体和响应体格式兼容的话,那会比较好处理,得等到下次有空了或者pr |
什么时候支持呀大佬 |
+1,希望能支持。这个太需要了。 |
佬,到现在还有没有适配吗。最新版本还是没找到对应的方法 |
Temporary Workaround一个临时的解决方案,供后来者参考。 Cloudflare AI Gateway 同样 支持 Perplexity,渠道选择 OpenAI,然后填入代理地址就可以规避 URL 里没有 API Implementation至于实现 Perplexity API,有以下需要考虑的问题:
|
例行检查
功能描述
perplexity 也是有api的,在自定义模型中没有添加成功
应用场景
模型列表如下
codellama-34b-instruct | 16384 | Chat Completion
llama-2-70b-chat | 4096 | Chat Completion
mistral-7b-instruct | 4096 [1] | Chat Completion
openhermes-2-mistral-7b | 4096 [1] | Chat Completion
openhermes-2.5-mistral-7b | 4096 [1] | Chat Completion
pplx-7b-chat-alpha | 4096 | Chat Completion
pplx-70b-chat-alpha | 4096 | Chat Completion
The text was updated successfully, but these errors were encountered: