-
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
base: main
Are you sure you want to change the base?
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 본문 정리했습니다! |
|
[InlineData(null, typeof(InvalidOperationException), "GoogleVertexAI:ApiKey")] | ||
[InlineData("", typeof(InvalidOperationException), "GoogleVertexAI:ApiKey")] | ||
[InlineData(" ", typeof(InvalidOperationException), "GoogleVertexAI:ApiKey")] | ||
public void Given_Invalid_ApiKey_When_EnsureLanguageModelSettingsValid_Invoked_Then_It_Should_Throw(string? apiKey, Type expectedType, string expectedMessage) |
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.
Type expectedType
매개인자는 사용하지 않으니 모두 제거해주세요
다른 테스트 메서드도 모두 동일합니다 ~
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 상속 테스트는 잘 확인했습니다!
- 테스트 메서드에서 불필요한 매개인자 제거하기
- 지난번 요청한 문서작업
불필요한 매개인자 제거했습니다! |
@hxcva1 넵 확인했습니다! |
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