본문으로 건너뛰기

설치

코어 패키지는 작게 유지하고, 선택 기능은 extra로 제공합니다.

Extra추가 기능사용 시점
openapiYAML parsingYAML OpenAPI spec을 ingest할 때
koreanKorean tokenizer한국어 질의와 영어 operationId가 섞인 API를 검색할 때
mcpMCP server/proxyretrieval을 MCP로 노출할 때
embeddingNumPy embedding hookgraph retrieval과 vector similarity를 함께 쓸 때
embedding-localsentence-transformers로컬 embedding model을 쓸 때
similarityfuzzy matchingduplicate detection이 필요할 때
visualizationgraph export dependencygraph 파일을 export할 때
dashboardDash dashboard dependency로컬 interactive dashboard를 실행할 때
pip install graph-tool-call
pip install "graph-tool-call[openapi,korean]"

Extra 선택

통합에 필요한 기능만 설치합니다.

# OpenAPI JSON/YAML ingestion
pip install "graph-tool-call[openapi]"

# 한국어 query와 영어 API catalog 혼합 검색
pip install "graph-tool-call[korean]"

# MCP server/proxy helper
pip install "graph-tool-call[mcp]"

# docs, examples, optional integration 전체
pip install "graph-tool-call[all]"

대형 OpenAPI API collection에서는 보통 다음 조합을 사용합니다.

pip install "graph-tool-call[openapi,korean]"

설치 확인

python - <<'PY'
import graph_tool_call
from graph_tool_call import ToolGraph

print(graph_tool_call.__version__)
print(ToolGraph)
PY

import가 되면 CLI도 확인합니다.

graph-tool-call --help

환경별 권장

Environment권장
application serverexact package version pin
local engine developmentPoetry와 all extras
product adapter developmentlocal editable install은 가능하지만 commit dependency에는 넣지 않음
CI docs buildwebsite/ 아래 website dependency를 별도 설치

production adapter에서는 exact pin을 사용합니다.

graph-tool-call[korean]==0.32.1

제품에서 검증한 version을 사용하세요. deployment manifest에서 latest로 floating하지 않습니다.

개발 환경:

poetry install --with dev --all-extras
poetry run pytest tests/ -q

Troubleshooting

증상가능 원인해결
YAML OpenAPI 실패openapi extra 없음graph-tool-call[openapi] 설치
한국어 query 품질 낮음tokenizer extra 없음graph-tool-call[korean] 설치
MCP server import 실패MCP SDK extra 없음graph-tool-call[mcp] 설치
local embedding 사용 불가embedding extra 없음embedding 또는 embedding-local 설치
배포 후 동작이 갑자기 바뀜floating dependencyexact version pin 사용

다음 단계

빠른 시작에서 OpenAPI spec을 ingest하고 첫 retrieval query를 실행합니다.