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

Releases/1.7.0 #223

Merged
merged 124 commits into from
Oct 5, 2023
Merged

Releases/1.7.0 #223

merged 124 commits into from
Oct 5, 2023

Conversation

samuelvkwong
Copy link
Contributor

  • Able to enhance messages using OpenAI by using the personalize function of the OpenAI wrapper service https://github.com/rwth-acis/las2peer-openai-service
    An example set up of the bot model:
    image
    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
  • Bot actions can trigger another bot action, meaning the text response from the first bot action can be passed to the second bot action. For example, a response from a bot action can be passed to the personalize function of the OpenAI wrapper service. [ENH] Chaining Bot Actions #208
  • Bot actions can lead to an incoming message so that if a request fails the state is not automatically advanced and errors can be handled appropriately. [ENH] Extending the Bot Model Process to be Sequential Social-Bot-Framework#101

lakhoune and others added 25 commits August 31, 2023 17:38
…onId from json object, also added leadsTo to botactions
…ollowup state of the current state if the bot action is successful
fix merge conflicts from release/1.7.0
bot parser added missing trigger from ba to ba, also added missing bo…
added all leadsTo messages to the followup messages of an incoming me…
remove log messages and remove conditional branch from setContextToBasic
Samuel Kwong and others added 2 commits October 5, 2023 15:11
@samuelvkwong samuelvkwong merged commit 88cceab into develop Oct 5, 2023
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