-
Notifications
You must be signed in to change notification settings - Fork 9
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
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
test
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
P2t webservice backend tests llm
…TestsLLM Revert "P2t webservice backend tests llm"
…e-BackendTestsLLM Revert "Revert "P2t webservice backend tests llm""
…webservice-BackendTestsLLM" This reverts commit 0aa380b.
…t-1-p2t-webservice-BackendTestsLLM"" This reverts commit 0ea286a.
fix for the spotless-check
…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>
Add tests for Check for BPMN or PNML
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
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.
No description provided.