Skip to content
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

Add more model support for AI continuation #240

Open
1 of 6 tasks
mzwing opened this issue Nov 24, 2023 · 4 comments
Open
1 of 6 tasks

Add more model support for AI continuation #240

mzwing opened this issue Nov 24, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mzwing
Copy link
Member

mzwing commented Nov 24, 2023

  • Baidu Qianfan Platform
  • iFlytek's Xing Huo LLM
  • text-generation-webui API
  • Google Bard (maybe)
  • New Bing (maybe)
  • HuggingChat (maybe)
@mzwing mzwing added the enhancement New feature or request label Nov 24, 2023
@mzwing mzwing self-assigned this Nov 24, 2023
@mzwing mzwing added the help wanted Extra attention is needed label Nov 24, 2023
@mzwing
Copy link
Member Author

mzwing commented Nov 24, 2023

@baiyuanneko Could you add Baidu's Ernie Bot api support? I find it too hard for me to implement this since it didn't have a proper class or function like aiAssistedWritingConfigDialog.

@baiyuanneko
Copy link
Member

I have modified the code, makes it easier to add support for more LLM APIs.

It can be seen in /App/ai_function.js for details. To add support for a new LLM API, it is needed to write a class that has these functions: requestTextCompletions, requestTextImprove and requestTextSummary. For an example, you can see /App/ai_function_openai.js.

@mzwing
Copy link
Member Author

mzwing commented Jan 25, 2024

Now support ALL LLMs in Baidu Qianfan Platform with commit a35416d. 🎉

However, you should check the comment in the code to get some information with this feature, since Baidu Qianfan Platform is so complex. 😵

@mzwing
Copy link
Member Author

mzwing commented Jan 25, 2024

Since Poe actually does not provide the API Gateway to chat with the LLMs hosted on it, I deleted the plan of supporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants