Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ
Công cụ thiết kế cho bài kiểm tra đại lý LLM
Kiểm tra cách tên và mô tả công cụ hướng dẫn lựa chọn mô hình, tại sao các lược đồ nghiêm ngặt và các lỗi có thể xử lý lại quan trọng và tại sao có quá nhiều công cụ lại gây tổn hại cho tác nhân.
Câu hỏi 1 của 8
What does the model actually use to decide how to call a tool?
Xem trước mọi câu hỏi8 câu hỏi
Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.
- What does the model actually use to decide how to call a tool?
- The tool's source code
- The name, description, schema and returned text
- The server's latency history
- The programming language the tool is written in
- Why might an agent use prefixes such as github_create_issue and jira_create_issue?
- Prefixes make tools run faster
- APIs require prefixes
- They keep similar tools from different services apart
- They reduce the size of JSON Schema files
- Which parameter design is most likely to produce correct arguments?
- An enum listing the allowed values
- A free-text string called 'value'
- An untyped field with no description
- A parameter named 'x'
- What makes a good tool error message?
- A numeric error code only
- A generic 'something went wrong'
- Nothing, so no tokens are spent
- It explains what went wrong and suggests what to try next
- Why can adding many tools reduce agent performance?
- Models can only call one tool per conversation
- Each definition takes up context, and overlapping tools make selection harder
- Tools stop working once there are more than five
- Tool count has no effect
- Compared with mirroring every API endpoint one-to-one, what does the guide recommend?
- Fewer, higher-level tools shaped around real tasks
- Exposing every endpoint so the agent has full coverage
- Using only one tool for everything
- Letting the model write its own HTTP requests
- Why should a tool paginate or truncate its output by default?
- To hide data from users
- Because models cannot read numbers
- To avoid filling the context window with low-value data
- Because JSON Schema requires it
- Why make tools idempotent or give them an idempotency key?
- Nó làm cho mô tả ngắn hơn
- It lets the model skip schemas
- It speeds up model inference
- A retried call will not create duplicate records