BIGTOP-4191: Add AI assistant module, integrating with a large language model for basic conversational functionality.#49
Merged
kevinw66 merged 11 commits intoapache:mainfrom Aug 21, 2024
Conversation
…basic conversational functionality.
kevinw66
requested changes
Aug 20, 2024
...er-ai-assistant/src/main/java/org/apache/bigtop/manager/ai/assistant/AIAssistantFactory.java
Outdated
Show resolved
Hide resolved
...t/src/main/java/org/apache/bigtop/manager/ai/assistant/provider/LocSystemPromptProvider.java
Outdated
Show resolved
Hide resolved
...-assistant/src/test/java/org/apache/bigtop/manager/ai/assistant/AIAssistantFactoryTests.java
Outdated
Show resolved
Hide resolved
...core/src/main/java/org/apache/bigtop/manager/ai/core/factory/AIAssistantAbstractFactory.java
Outdated
Show resolved
Hide resolved
...-bigtop/src/main/java/org/apache/bigtop/manager/stack/bigtop/v3_3_0/tez/TezClientScript.java
Outdated
Show resolved
Hide resolved
Contributor
|
There are too many unnecessary new lines added, we should remove them |
… code style update
… name and description in bigtop-manager-ai/pom.xml
kevinw66
approved these changes
Aug 21, 2024
Contributor
kevinw66
left a comment
There was a problem hiding this comment.
+1 LGTM, thanks @NingNing0111
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(1) Added the
bigtop-manager-aimodule, which primarily implements the AI capabilities ofbigtop-manager.(2) Completed the basic
bigtop-manager-ai-coremodule, which serves as the abstraction layer for AIAssistant, defining its AI capabilities.(3) Finished the basic
bigtop-manager-ai-assistantmodule, responsible for implementing the specific capabilities of AIAssistant.(4) Integrated the
OpenAIlarge model to enable a basic conversational interface with memory capabilities.Some usage examples:https://github.com/NingNing0111/bigtop-manager/blob/BIGTOP-4191/bigtop-manager-ai/bigtop-manager-ai-assistant/src/test/java/org/apache/bigtop/manager/ai/assistant/AIAssistantServiceTest.java