Open
Conversation
'-요' 체 입력받기 최소 어절 추가 대사 사용 규칙 추가
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.
🐣 작업 개요
📍 변경 사항
Create: story_router, story_schema, story_generator, story_orchestrator
Update: main, level_consts, prompt_builder, .gitignore
Delete: constraint_router, refiner_router
🚧 구현 중 겪은 이슈 및 해결 방법
해결: story_router.py의 전역 인스턴스 생성 코드가 호출되는 시점이 .env 파일을 불러오는 시점보다 빨라서 발생한 문제였습니다. 전역 인스턴스를 삭제하고 get_orchestrator()에서 객체를 생성함으로써 문제를 해결했습니다.
해결: 레벨 파라미터와 동화 생성용 프롬프트를 구체화해서 해결했습니다.
🚀 사용 방법
Request로 STT 원본 텍스트, 아동 레벨, 최근 WCPM, 취약 발음을 입력받으면

Response로 아래와 같이 받을 수 있습니다.

🔍 참고 사항
✨ 관련 이슈
🔧 변경 유형