-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat: Anthropic AI Plugin #29095
feat: Anthropic AI Plugin #29095
Conversation
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6979992603. |
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
/build-deploy-preview skip-tests=true recreate=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6983483751. |
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
/build-deploy-preview skip-tests=true recreate=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6986938923. |
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6987082337. |
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/7022253875. |
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
…smith into feat/anthropic-ai-plugin
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Outdated
Show resolved
Hide resolved
...ppsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/commands/ChatCommand.java
Outdated
Show resolved
Hide resolved
"messages are not provided in the configuration correctly"); | ||
} | ||
for (Map<String, String> message : messagesMap) { | ||
if (message != null && message.containsKey(ROLE) && message.containsKey(CONTENT)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is more flexible in allowing the types of roles. Do we have a fix number of roles for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we have two roles, HUMAN and ASSISTANT
...ppsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/commands/ChatCommand.java
Outdated
Show resolved
Hide resolved
...ppsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/commands/ChatCommand.java
Outdated
Show resolved
Hide resolved
...psmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/models/ChatRequestDTO.java
Outdated
Show resolved
Hide resolved
...lugins/anthropicPlugin/src/main/java/com/external/plugins/utils/AnthropicMethodStrategy.java
Outdated
Show resolved
Hide resolved
.../appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/utils/RequestUtils.java
Show resolved
Hide resolved
...ver/appsmith-plugins/openAiPlugin/src/main/java/com/external/plugins/utils/RequestUtils.java
Outdated
Show resolved
Hide resolved
…smith into feat/anthropic-ai-plugin
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Outdated
Show resolved
Hide resolved
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Outdated
Show resolved
Hide resolved
/ok-to-test |
/build-deploy-preview skip-tests=true |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/7097552525. |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/7097554988. |
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Outdated
Show resolved
Hide resolved
...ver/appsmith-plugins/anthropicPlugin/src/main/java/com/external/plugins/AnthropicPlugin.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added minor Nit, else LGTM
Deploy-Preview-URL: https://ce-29095.dp.appsmith.com |
/ok-to-test |
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/7097552525. |
Description
Anthropic AI plugin - provides chat completion API support as a datasource plugin
PR fixes following issue(s)
Fixes #29036
Type of change
Testing
How Has This Been Tested?
Checklist:
Dev activity
QA activity:
Test Plan Approved
label after Cypress tests were reviewedTest Plan Approved
label after JUnit tests were reviewedSummary by CodeRabbit
New Features
Enhancements
Bug Fixes
Documentation
Refactor
Tests