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

Pull Request for the Result of the "Integrationsseminar" #22

Merged
merged 52 commits into from
Nov 11, 2024

Conversation

Marcel2511
Copy link
Contributor

No description provided.

Marcel2511 and others added 30 commits May 27, 2024 00:23
Update pom.xml
updated java version properties to java 21 lts
updated some dependencies to fitt the java 21 LTS version
switched the spotless-check  goal to apply for development purposes
added a @crossorigin annotation to reference to all domains - fixxing the missing Request Methods with this annotation

Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
new service implemented to call the Open AI API

updated the Controller to control both services
Implementation of the Transformer Service based on the rudimentary description of the REST API given to us by the other group
(subject to changes)
transformer controller has been removed as it's not needed, transformer service restructued to be reusable more easily
prettier format
Reworked the Controller to match LLMService,

change OpenAI API URL and implemented the requestbody to finaly get a functional backendservice
created a WebConfig class for the ACAO, to define the Crossorigin URLs

Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
Co-Authored-By: Avvy10 <126588211+Avvy10@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
Added a needed dependency to figure out wheter it's a BPMN or PNML File and changed the detection from XML to HTML file
…TestsLLM

Revert "P2t webservice backend tests llm"
…e-BackendTestsLLM

Revert "Revert "P2t webservice backend tests llm""
…ebservice-BackendTestsLLM"

This reverts commit 0599fb2, reversing
changes made to 065daca.
…webservice-BackendTestsLLM"

This reverts commit 0aa380b.
…t-1-p2t-webservice-BackendTestsLLM""

This reverts commit 0ea286a.
fix for the spotless-check
ChrisCas92 and others added 22 commits June 10, 2024 11:58
…penAi

Created a Enum which got all GPT-Models for OpenAi,

Created a DTO for OpenAIApi which wraps the apiKey, prompt and the gptModel Enum,

implemented Methods to the P2TController for these Classes and to the P2TLLMService

Co-Authored-By: Avvy10 <126588211+Avvy10@users.noreply.github.com>
Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
implemented some error handling and logging to find the issues better,

fixed the OpenAiAPI Call with .getModel() method to get the String not the Enum

Co-Authored-By: Avvy10 <126588211+Avvy10@users.noreply.github.com>
Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
… errorhandling reworking

added a method to parse the JSON string from OpenAI API to display the "content" only,

added some simple error handlings btw.

Co-Authored-By: Avvy10 <126588211+Avvy10@users.noreply.github.com>
Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
Added to JavaDocs to all changed Classes,

added all GPT Models that are currently available and not Legacy

Co-Authored-By: Avvy10 <126588211+Avvy10@users.noreply.github.com>
Co-Authored-By: JNIKER <116815909+JNIKER@users.noreply.github.com>
Co-Authored-By: JeremiasDecker <112878328+JeremiasDecker@users.noreply.github.com>
Co-Authored-By: nilschi <90916219+nilschi@users.noreply.github.com>
implemented the the missing body text from the bpmn to fix the content from the response from OpenAI.

Co-Authored-By: Marcel Wollbaum <113522345+Marcel2511@users.noreply.github.com>
just formatting

Co-Authored-By: Marcel Wollbaum <113522345+Marcel2511@users.noreply.github.com>
Co-authored-by: anneke02 <annekedeweerd@web.de>
Deleted the EnumGPTModel class with static GPT-Models as String to a API Request Call from OpenAI in the P2TLLMService to get all Models.
refactored
@TaminoFischer TaminoFischer merged commit 9f09674 into woped:master Nov 11, 2024
1 check failed
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.

5 participants