Conversation
- 그래프 에이전트 서비스 클래스 추가 및 초기화 로직 구현 - 로컬 및 프로덕션 환경에 따른 AWS LLM 설정 추가 - 사용자 권한 확인 및 그래프 생성 로직을 위한 기본 구조 마련 - invoke 메서드에 대한 기본적인 입력 처리 및 그래프 실행 로직 추가
- 그래프 에이전트를 호출하는 POST API 엔드포인트 추가 - 요청 및 응답 스키마 정의 - 현재 사용자 인증 및 서비스 의존성 주입 구현
- 그래프 에이전트 API 라우터를 메인 라우터에 포함하여 API 접근성 향상 - 기존 라우터 구조에 통합하여 코드 일관성 유지
- langchain_core에서 샘플 도구를 구현하여 기본적인 입력 처리 및 반환 로직 추가 - RunnableConfig를 통해 사용자 ID 및 공간 ID를 설정할 수 있도록 구성
- 그래프 에이전트 호출 요청 및 응답을 위한 Pydantic 모델 정의 - 요청 스키마에 space_id 필드 추가 - 응답 스키마에 response 필드 추가 - TODO 주석을 통해 상세 필드 정의 필요성 명시
- 그래프 에이전트 서비스 인스턴스를 반환하는 함수 추가 - 카드 서비스와 그래프 서비스에 대한 의존성 주입 구현 - 코드 구조 개선 및 서비스 통합을 통한 기능 확장
- boto3와 botocore의 버전을 각각 1.36.20에서 1.40.19로 업데이트 - s3transfer, langchain-aws, langchain-core, langsmith 등 다른 패키지의 버전도 업데이트 - python-versions 요구사항을 3.8에서 3.9로 변경하여 호환성 개선
- langchain_aws.bedrock에서 langchain_aws로, langgraph.graph에서 langgraph.prebuilt로의 임포트 경로 변경 - 코드의 일관성을 유지하고 최신 패키지 구조에 맞게 수정
- 그래프 서비스와 카드 서비스의 의존성을 수동으로 생성하여 순환 임포트를 방지 - 데이터베이스 세션을 사용하여 그래프 및 카드 저장소 인스턴스를 생성하고 서비스 인스턴스를 반환하는 로직 추가 - 코드 구조 개선 및 의존성 관리 향상
- 사용자 요청 시 config 파라미터에 카드 서비스와 그래프 서비스 의존성을 추가하여 기능 확장 - 코드 구조 개선 및 서비스 통합을 통한 유연성 향상
This file contains hidden or 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
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.
작업 내역
특이 사항