Skip to content

Commit

Permalink
Feature/gpt integration (#801)
Browse files Browse the repository at this point in the history
* first basic functionality of the ai feature works

* Google Java Format

* add poetry dependency file

* add test property for python container, test classes

* Google Java Format

* improve design of markdown, userstories & add markdown to member

* add title functionality + style, improve Codebase

* styling of the description improved, removed overflow for ai buttons

* logic for description, styling of description, modal, title

* add AiControllerTest Logic

* Google Java Format

* add grammar check logic + JUnitTests Backend, add spinner to fe,

* Google Java Format

* add PyTest to Python Container

* change prettier to warn

* add confidental masking for grammar check

* Google Java Format

* add confidental masking for description, add jira2md converter, us.id is now a string

* Google Java Format

* privacy modal added, 3 categories of confidential data, tried few-shot prompting

* Google Java Format

* added language selector to privacy modal for better prompting results

* Google Java Format

* added user story estimation feature, translation

* Google Java Format

* add cancel button translation

* prompts are now in extra files, add docker env variable

* remove docker env, and logic for python service

* improve modal design, functionality

* fix deletion bug

* splitting a user story now works

* Google Java Format

* improve optic of split feature

* improve german prompt & design of splitting modal

* fix title bug, remove unnecessary variable

* fix deletion bug for splitted User Stories

* improve title prompt_title.txt

* fix prompt_grammar_check.txt

* adjust styling of modal

* add function to check if api key exists

* Google Java Format

* increase max_tokens for prompts

* fix two prompting mistakes

* marking important content now works

* Google Java Format

* remove unnecessary prints

* add ai container to pipeline

* fix: merge conflicts & remove cat gif

* add ai container to docker

* add new properties

* rename file

* change env profile

---------

Co-authored-by: github-actions <>
Co-authored-by: Till Wanner <Till.Wanner@sybit.de>
  • Loading branch information
SponsoredByPuma and Till Wanner authored Aug 7, 2024
1 parent 81adab3 commit 5c6d6ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions backend/src/main/resources/application-devDiveni.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
spring.data.mongodb.uri=mongodb://diveni_database:27017
spring.data.mongodb.database=diveni
server.port=9090
server.forward-headers-strategy=framework
springdoc.swagger-ui.disable-swagger-default-url=true
python_ai_url=http://dev_diveni_ai:8000
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
container_name: diveni_backend
restart: unless-stopped
environment:
- "SPRING_PROFILES_ACTIVE=prod"
- "SPRING_PROFILES_ACTIVE=devDiveni"
env_file:
- ./backend/.env
healthcheck:
Expand Down

0 comments on commit 5c6d6ce

Please sign in to comment.