Guidelines for handling CSV/Excel files
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
agentscope-ai/agentscope-samples3512026년 4월 10일 업데이트
Guidelines for handling databases
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
SELECT *, always run SELECT COUNT(*) FROM table_name to understand the scale.SELECT * FROM table_name LIMIT 5 to see actual data formats.LIMIT: Never execute a query without a LIMIT clause unless the row count is confirmed to be small.SELECT *: In production-scale tables, explicitly name columns to reduce I/O and memory usage."UserTable" in Postgres, `UserTable` in MySQL).JOIN operations, ensure joining columns are indexed to prevent full table scans.GROUP BY, ensure the result set size is manageable.DECIMAL, BIGINT, TIMESTAMP) are correctly mapped to Python/JSON types without precision loss.NULL values to a consistent "missing" representation (e.g., None or NaN).fetchmany(size) or OFFSET/LIMIT pagination instead of fetching everything into memory at once.DATE(), UPPER()) within the WHERE clause.DISTINCT and UNION (which performs de-duplication) on multi-million row sets unless necessary; use UNION ALL if duplicates are acceptable.ORDER BY on large non-indexed text fields.LIKE patterns (e.g., %term) on large text columns.WHERE col = FUNC(val) is good; WHERE FUNC(col) = val is bad.WHERE conditions as close to the base tables as possible.WITH for complex multi-step logic to improve maintainability and optimizer hints.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Guidelines for handling CSV/Excel files
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Guidelines for handling image files
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Guildlines for handling json files
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Guidelines for handling text files
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.