고급 설정

고급 설정 (Advanced Configuration)

AgentOps의 고급 설정 방법과 .env 파일에서 조정할 수 있는 옵션들을 소개해요. API 엔드포인트, 로그 레벨, 환경 데이터 기록 등 다양한 설정을 알아볼게요.

출처: 문서

본문

AgentOps답게, .env 파일에 한 줄의 "코드"만 추가하면 됩니다 😊

```python .env theme={null} AGENTOPS_API_KEY= ``` Find your AgentOps API Key in your Settings > [Projects & API Keys](https://app.agentops.ai/settings/projects) page.

선택적 설정 (Optional settings):

# The AgentOps API endpoint. Defaults to https://api.agentops.ai
AGENTOPS_API_ENDPOINT=https://api.agentops.ai
# Logging level. <DEBUG, INFO, CRITICAL>. Defaults to INFO
AGENTOPS_LOG_LEVEL=INFO
# Write logs to file <TRUE, FALSE>. Defaults to TRUE
AGENTOPS_LOGGING_TO_FILE=TRUE
# Whether to opt out of recording environment data. <FALSE, TRUE>. Defaults to FALSE
AGENTOPS_ENV_DATA_OPT_OUT=FALSE

더 알아보기 (Learn more)