Update documentation with naming consistency fixes
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
17e7dd6c0d
commit
207d6111dc
@ -1,6 +1,6 @@
|
||||
# 로빙 프로젝트 문서 저장소
|
||||
|
||||
Slack 기반 AI 어시스턴트 **로빙(Robing)** 프로젝트의 모든 문서를 모아놓은 저장소입니다.
|
||||
Slack 기반 AI 어시스턴트 **로빙(Robeing)** 프로젝트의 모든 문서를 모아놓은 저장소입니다.
|
||||
|
||||
## 문서 구조
|
||||
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user