From 207d6111dc03b620839bb68169c13ee85db29084 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Thu, 3 Jul 2025 23:21:57 +0900 Subject: [PATCH] Update documentation with naming consistency fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix RobingBrain to RobeingBrain in functional programming guide - Update README.md structure and content - Improve documentation consistency across project πŸ€– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 2 +- ...λΉ™_ν•¨μˆ˜ν˜•_ν”„λ‘œκ·Έλž˜λ°_κ°€μ΄λ“œ.md | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index bffc9bf..1b6f18b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # λ‘œλΉ™ ν”„λ‘œμ νŠΈ λ¬Έμ„œ μ €μž₯μ†Œ -Slack 기반 AI μ–΄μ‹œμŠ€ν„΄νŠΈ **λ‘œλΉ™(Robing)** ν”„λ‘œμ νŠΈμ˜ λͺ¨λ“  λ¬Έμ„œλ₯Ό λͺ¨μ•„놓은 μ €μž₯μ†Œμž…λ‹ˆλ‹€. +Slack 기반 AI μ–΄μ‹œμŠ€ν„΄νŠΈ **λ‘œλΉ™(Robeing)** ν”„λ‘œμ νŠΈμ˜ λͺ¨λ“  λ¬Έμ„œλ₯Ό λͺ¨μ•„놓은 μ €μž₯μ†Œμž…λ‹ˆλ‹€. ## λ¬Έμ„œ ꡬ쑰 diff --git a/docs/guide/functional-programing/λ‘œλΉ™_ν•¨μˆ˜ν˜•_ν”„λ‘œκ·Έλž˜λ°_κ°€μ΄λ“œ.md b/docs/guide/functional-programing/λ‘œλΉ™_ν•¨μˆ˜ν˜•_ν”„λ‘œκ·Έλž˜λ°_κ°€μ΄λ“œ.md index bb98bf0..87a2a92 100644 --- a/docs/guide/functional-programing/λ‘œλΉ™_ν•¨μˆ˜ν˜•_ν”„λ‘œκ·Έλž˜λ°_κ°€μ΄λ“œ.md +++ b/docs/guide/functional-programing/λ‘œλΉ™_ν•¨μˆ˜ν˜•_ν”„λ‘œκ·Έλž˜λ°_κ°€μ΄λ“œ.md @@ -16,15 +16,15 @@ date: 2025-06-28 ```python # λ‘œλΉ™μ˜ ν•¨μˆ˜ν˜• μ •μ˜ μ˜ˆμ‹œ @dataclass(frozen=True) -class Robing: +class Robeing: identity: str stats: Dict[str, int] skills: List[Callable] memory: List[Memory] -def absorb_skill(robing: Robing, new_skill: Skill) -> Robing: +def absorb_skill(robeing: Robeing, new_skill: Skill) -> Robeing: """μ™ΈλΆ€ μŠ€ν‚¬μ„ ν‘μˆ˜ν•˜μ—¬ μƒˆλ‘œμš΄ λ‘œλΉ™ λ°˜ν™˜""" - return robing.evolve(skills=robing.skills + [new_skill]) + return robeing.evolve(skills=robeing.skills + [new_skill]) ``` --- @@ -69,7 +69,7 @@ class ThreadDigestService: def thread_digest_skill(conversation: str) -> str: return summarize_conversation(conversation) -robing = Robing(skills=[thread_digest_skill, action_extract_skill]) +robeing = Robeing(skills=[thread_digest_skill, action_extract_skill]) ``` --- @@ -168,7 +168,7 @@ def process_conversation(conversation: str) -> IO[dict]: ```python @dataclass(frozen=True) -class Robing: +class Robeing: """λΆˆλ³€ λ‘œλΉ™ 쑴재""" identity: str stats: Dict[str, int] @@ -176,25 +176,25 @@ class Robing: memory: List[str] items: List[str] - def evolve(self, **changes) -> 'Robing': + def evolve(self, **changes) -> 'Robeing': """μƒˆλ‘œμš΄ μƒνƒœλ‘œ μ§„ν™”""" return replace(self, **changes) - def absorb_skill(self, skill: Callable) -> 'Robing': + def absorb_skill(self, skill: Callable) -> 'Robeing': """μƒˆλ‘œμš΄ μŠ€ν‚¬ 흑수""" return self.evolve(skills=self.skills + [skill]) - def level_up_stat(self, stat: str, amount: int = 1) -> 'Robing': + def level_up_stat(self, stat: str, amount: int = 1) -> 'Robeing': """μŠ€νƒ― λ ˆλ²¨μ—…""" new_stats = {**self.stats, stat: self.stats[stat] + amount} return self.evolve(stats=new_stats) - def remember(self, memory: str) -> 'Robing': + def remember(self, memory: str) -> 'Robeing': """μƒˆλ‘œμš΄ κΈ°μ–΅ μΆ”κ°€""" return self.evolve(memory=self.memory + [memory]) # λ‘œλΉ™ 생성 및 μ§„ν™” -initial_robing = Robing( +initial_Robeing = Robeing( identity="RO-BEING-001", stats={'memory': 2, 'compute': 2, 'empathy': 2}, skills=[summarize_text, extract_actions], @@ -206,7 +206,7 @@ initial_robing = Robing( def pdf_parse_skill(pdf_data: bytes) -> str: return extract_text_from_pdf(pdf_data) -evolved_robing = (initial_robing +evolved_Robeing = (initial_Robeing .absorb_skill(pdf_parse_skill) .level_up_stat('memory') .remember("ν•™μŠ΅: PDF νŒŒμ‹± μŠ€ν‚¬ μŠ΅λ“")) @@ -230,7 +230,7 @@ def adapt_external_module(module_func: Callable) -> Callable: notion_skill = adapt_external_module(notion_api.create_page) # λ‘œλΉ™μ— 톡합 -robing_with_notion = initial_robing.absorb_skill(notion_skill) +Robeing_with_notion = initial_Robeing.absorb_skill(notion_skill) ``` --- @@ -322,7 +322,7 @@ def migrate_existing_skill(legacy_class_method): ### 2. ν•˜μ΄λΈŒλ¦¬λ“œ μ•„ν‚€ν…μ²˜ ```python -class RobingOrchestrator: +class RobeingOrchestrator: """ν•¨μˆ˜ν˜• μŠ€ν‚¬κ³Ό κΈ°μ‘΄ μ‹œμŠ€ν…œμ„ μ—°κ²°ν•˜λŠ” μ˜€μΌ€μŠ€νŠΈλ ˆμ΄ν„°""" def __init__(self):