lobehub/lobe-chat

[Request] Add support for Cloudflare AI #1566

BrandonStudio posted onGitHub

🥰 Feature Description

Add support for not only chat models, but also embedding, image-generating, tts, etc. via plugin for Cloudflare AI

🧐 Proposed Solution

Add Cloudflare AI chat models for backend, and other models for plugins.

📝 Additional Information

Cloudflare provides various AI models as well as generous free allocation. It is very exciting to take advantage of it.


👀 @BrandonStudio

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

posted by lobehubbot 12 months ago
posted by arvinxx 12 months ago

✅ @BrandonStudio

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

posted by lobehubbot 12 months ago

@arvinxx Cloudflare AI as a model provider is just a part of this request. What about the plugin part? Do you consider allowing alternative TTS and speech recognition service?

Besides, other models in Cloudflare AI such as image generation are possible to become plugins, but not in the most simple way. The ideal approach to call those models is to simply call official API with custom path /.../{CLOUDFLARE_ACCOUNT_ID}/... and authorization header and wait for reply. Unfortunately, former is not supported in current plugin system, and latter is not supported on Vercel (timeout).

posted by BrandonStudio 12 months ago

alternative TTS and speech recognition service

Ok, it's a good idea. I can reopen it.

posted by arvinxx 12 months ago

As currently we have lanuched the cloudflare provider, we can close the issue now

posted by arvinxx 3 months ago

✅ @BrandonStudio

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

posted by lobehubbot 3 months ago

Fund this Issue

$0.00
Funded

Pull requests