-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feat] Rag system #188 #189
Merged
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
기존에는 service 내부에서 그냥 Event 를 raise 하였는데, 이 방식 보다는 포트에 전달하고 Adapter 에서 raise 하도록 변경
Quality Gate passedIssues Measures |
zbqmgldjfh
added a commit
that referenced
this pull request
Jul 23, 2024
* setting: Spring AI 1.0.0-M1 의존성 설정 완료 * test: Spring AI 질문 인수테스트 작성 * feat(Member): Member Entity question_count 필드 추가 * feat(ErrorCode): AI관련 error code 추가 * feat(RAGConfiguration): SimpleVectorDB 구현 * feat: RAG API 구현 * feat(RAGQueryAiModelAdapter): Flux를 사용한 응답 stream 구현 * test(AiAcceptanceTest): AI에게 질문하는 인수테스트 작성 * feat(InMemoryQueryAiModelAdapter): 테스트 용도의 InMemory AI model 응답 Fake 구현 * feat(AiAcceptanceTest): 가능한 요청 횟수를 넘긴 경우 TOO_MANY_REQUESTS를 반환받는다 * fix(RAGQueryApiV2): 질문 API의 produces를 text/event-stream 으로 변경 * fix(InMemoryQueryAiModelAdapter): InMemory model의 응답 수정 * feat(AiAcceptanceTest): 질문 한도수 초과시 예외가 발행하는 인수테스트 작성 * feat(RAGEventAdapter): RAG 시스템의 이벤트 포트 별도로 분리 기존에는 service 내부에서 그냥 Event 를 raise 하였는데, 이 방식 보다는 포트에 전달하고 Adapter 에서 raise 하도록 변경 * feat: dev profile ai 설정 추가 * feat(InMemoryQueryAiModelAdapter): 기본 응답 부분을 단건 문자로 분리 * feat(RAGQueryApiV2): API를 POST에서 GET으로 변경 * chore: 테스트 코드에 필요없는 예외 제거 * test(UserRepositoryTest): 사용자 질문 토큰감소 리포지토리 테스트 추가 * feat(User): Deprecated 된 Where 에너테이션을 SQLRestriction 으로 변경 * refactor(NoticeQueryRepositoryImpl): 중복 문자열 상수로 추출
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.
TODO
추가 구현 예정