- 
                Notifications
    You must be signed in to change notification settings 
- Fork 23
feat: add Google Vertex AI connector implementation #493
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: add Google Vertex AI connector implementation #493
Conversation
…fra bicep templates
…rtexAIConnectorTests
| 오셨군요! 내용 확인해보겠습니다 ~ | 
| 리뷰 진행상황
 리뷰 백로그 / 기타 메모
 | 
| 
 
 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10/9 변경 요청사항
-  아래 LanguageModelConnectorTests에서 GoogleVertexAIConnector 구문 각주해제
- test/OpenChat.PlaygroundApp.Tests/Abstractions/LanguageModelConnectorTests.cs
- GoogleVertexAIConnector가 LanguageModelConnector를 잘 상속하는지 테스트
- 관련내용은 이 이슈 참조 #423
 
그리고 Connector로직과 테스트가 어느정도 정리되었으니 문서로 넘어가시죠!
- PR본문 정리 : 불필요한 부분은 남겨두지 마시고 삭제해주세요
-  docs 디렉토리 아래에 googlevertexai 문서화해주세요
- docs/openai,- docs/huggingface를 참고해서 작성하시면 됩니다
- 다른 분들 PR에서 자주 언급됐던 부분을 공유드리면
- bash/powershell로 구분하여 샘플을 작성해주세요
- bash 명령어에서 강제개행은 /역슬래시, powershell은 ` 백틱을 사용합니다
- docker 컨테이너를 말 때 Github container registry에서 이미지 가져오는 샘플도 작성해주세요
 
 
- 그밖에 리포지토리 루트, docs 루트에 있는 README 수정이 필요합니다
| 피드백 주신 부분 하나씩 수정하면서 코멘트 남기겠습니다! | 
| 우선 PR 본문 정리했습니다! | 
| 
 | 
        
          
                test/OpenChat.PlaygroundApp.Tests/Connectors/GoogleVertexAIConnectorTests.cs
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10/10 수정요청입니다 LanguageModelConnector 상속 테스트는 잘 확인했습니다!
- 테스트 메서드에서 불필요한 매개인자 제거하기
- 지난번 요청한 문서작업
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생많으셨습니다! ㅎㅎ
문서 스타일을 맞추고, API KEY 발급시 참고할 문서 링크를 추가해주세요.
| @hxcva1 잘 지내시죠? 진행상황 업데이트 부탁드립니다 | 
| 그러면 저는 우선 테스트 코드 보완 부터 시도해보도록 하겠습니다 | 
| Github 상에서 Conflict 해결하고 커밋을 했는데 로컬에서 이 버전을 pull 안하고 작업한 내용을 커밋했는데 푸쉬하려고 하니 에러가 나서 어떻게 해야할까요? rebase 기능을 사용해도 되는지 git이 아직 완전히 익숙하지는 않아서 죄송합니다. | 
| 
 git pull 해보셨나요? conflict 발생하면 로컬에서 수정하고 commit & push 하시면 됩니다. | 
| @hxcva1 CI 터지는 테스트 고쳐주세요 | 
- 순번있는 항목 내부의 코드와 각주는 인덴트
- 문서 컨벤션 반영 - GitHub Container Regitry, default and alternative model configuration
- 프로젝트, docs 루트의 README에 google vertex ai 반영
| 
 | 
- 메서드명 컨벤션 반영 - Invalid 케이스 확대: null, 빈문자열, 공백, 탭 - 누락된 Invalid 테스트 케이스 추가 - 테스트 입력값은 InlineData로 처리
- 누락된 예외처리 로직 추가 - EnsureLanguageModelSettingsValid 호출하지 않았을 경우 방어로직
- Connector 멤버로 AppSettings 선언 - 관련 로직 수정 - 불필요한 == 구문 제거
- 호출 메서드별 예외 클래스 수정
- connector 미지정시 google 기본값으로 설정하는 로직 제거 - 컨테이너로 env값 전달하는 로직 추가
- apiKey secretRef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Connector, 테스트, 문서, bicep에서 컨벤션을 맞추고
누락된 부분들은 일괄로 추가했습니다.
머지하겠습니다~

Purpose
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
README updated?
The top-level readme for this repo contains a link to each sample in the repo. If you're adding a new sample did you update the readme?
What to Check
Verify that the following are valid