-
Notifications
You must be signed in to change notification settings - Fork 3
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
Releases/1.7.0 #223
Merged
Merged
Releases/1.7.0 #223
Conversation
This file contains 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
… need credits to work with response and still need to format the response
…ll find solution to safely use key
…onId from json object, also added leadsTo to botactions
…ollowup state of the current state if the bot action is successful
…he current state from repeating its msg
Sequentialprocess
fix merge conflicts from release/1.7.0
…dy fields to ba trigger another ba
bot parser added missing trigger from ba to ba, also added missing bo…
…ssage if a bot action succeeds
added all leadsTo messages to the followup messages of an incoming me…
remove log messages and remove conditional branch from setContextToBasic
remove more log messages
lakhoune
requested changes
Sep 27, 2023
etc/i5.las2peer.services.socialBotManagerService.SocialBotManagerService.properties.sample
Outdated
Show resolved
Hide resolved
...ager/src/main/java/i5/las2peer/services/socialBotManagerService/SocialBotManagerService.java
Outdated
Show resolved
Hide resolved
...ager/src/main/java/i5/las2peer/services/socialBotManagerService/SocialBotManagerService.java
Outdated
Show resolved
Hide resolved
resolve request changes for release 1.7
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.
An example set up of the bot model:
When the Bot is being parsed, a flag is set in the IncomingMessage to indicate that the bot response should be enhanced by openAI if the Bot Action’s service name is “openai” and function name is “personalize”.
The “model” Action Parameter contains the id of the model to use, in most cases this should be "gpt-3.5-turbo"
The “messages” Action Parameter is empty and has child attributes, which tells the SBF manager that it should be treated as a list.
The “message” Action Parameter is also empty and its child attributes “role” and “content” contain the initial parameters to be passed to OpenAI in a chat completion. For personalizing the bot response, it is ideal if the “role” is “system” and “content” is something like “You personalize and return the last example assistant message”.
[ENH] LLM integration to make the conversation feel more natural #193