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

doc: add ai-proxy plugin #232

Merged
merged 4 commits into from
May 21, 2024
Merged

doc: add ai-proxy plugin #232

merged 4 commits into from
May 21, 2024

Conversation

cr7258
Copy link
Member

@cr7258 cr7258 commented May 20, 2024

内容来自 ai-proxy 插件的 README 文档, 在此基础上补充了 groq, claude 插件的文档,并在最后添加了完整的配置示例。

groq PR: alibaba/higress#967
claude PR: alibaba/higress#969

@CLAassistant
Copy link

CLAassistant commented May 20, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.


访问示例:

```json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不是JSON吧。。。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成 bash 了,之前用 json 是想让里面的 json 部分显示好看点。。😂

sidebars.js Outdated
@@ -34,7 +34,7 @@ const sidebars = {
{
type: 'category',
label: 'Plugins',
items: ['plugins/intro', 'plugins/custom', 'plugins/jwt-auth', 'plugins/hmac-auth', 'plugins/key-auth', 'plugins/basic-auth', 'plugins/key-rate-limit', 'plugins/custom-response', 'plugins/bot-detect', 'plugins/request-block', 'plugins/waf'],
items: ['plugins/intro', 'plugins/ai-proxy', 'plugins/custom', 'plugins/jwt-auth', 'plugins/hmac-auth', 'plugins/key-auth', 'plugins/basic-auth', 'plugins/key-rate-limit', 'plugins/custom-response', 'plugins/bot-detect', 'plugins/request-block', 'plugins/waf'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里建议把 ai-proxy 放到 custom 后面

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ai-proxy和其他的插件有什么区别么?为什么要单独把它放在自定义插件里,其他的算是官方提供的插件?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CH3CHO 顺序调整好了

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@CH3CHO
Copy link
Collaborator

CH3CHO commented May 21, 2024 via email

@cr7258 cr7258 requested a review from CH3CHO May 21, 2024 11:37
@CH3CHO CH3CHO merged commit c827317 into higress-group:main May 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants