1. NCP-AAI トピック 1 問題 11. NCP-AAI Topic 1 Question 1
問題Question
数学的計算、Web 検索、および API 呼び出しを実行する必要があるエージェントのツール統合を設計する場合、最も拡張性と保守性の高いアプローチを提供するアーキテクチャ パターンはどれですか?
- A. 各エージェント インスタンスの手動構成による外部ツール サービス
- B. 標準化されたインターフェイスを備えたマイクロサービスベースのツール アーキテクチャ
- C. さまざまなツールタイプに対応する条件付きロジックを備えたモノリシックツールハンドラー
- D. メインエージェントコード内の埋め込みツール機能
When designing tool integration for an agent that needs to perform mathematical calculations, web searches, and API calls, which architecture pattern provides the most scalable and maintainable approach?
- A. External tool services with manual configuration for each agent instance
- B. Microservice-based tool architecture with standardized interfaces
- C. Monolithic tool handler with conditional logic for different tool types
- D. Embedded tool functions within the main agent code
推奨解答Suggested Answer
B
解答の説明Answer Description クリックして展開Click to expand
コミュニティ解答投票Community Answer Votes
- B: 3 most voted
コメント 1Comment 1
Dehsabdfkjbakfjbksjbdfjkbsakjdfbkjsabdfkjbsakdjfbskjdbfkjsbdfkjbsadjkfbksabkj sjkad fjksa dfkj skjdf kjs adfj
コメント 2Comment 2
分離: ツールをマイクロサービスとして扱うことにより、ツールのロジック (Web 検索の実行方法など) をエージェントのロジック (エージェントがツールを使用する方法など) から分離します。
標準化されたインターフェイス: 一貫したスキーマ (OpenAPI や JSON スキーマなど) を使用すると、エージェントのコア エンジンを書き直すことなく、複雑な計算機であっても新しい API であっても、新しいツールを追加できます。
Decoupling: By treating tools as microservices, you separate the logic of the tool (e.g., how the web search is performed) from the logic of the agent (e.g., how the agent decides to use it).
Standardized Interfaces: Using a consistent schema (like OpenAPI or JSON Schema) allows you to add new tools—whether it’s a complex calculator or a new API—without rewriting the agent’s core engine.
コメント 3Comment 3
分離: ツールをマイクロサービスとして扱うことにより、ツールのロジック (Web 検索の実行方法など) をエージェントのロジック (エージェントがツールを使用する方法など) から分離します。
標準化されたインターフェイス: 一貫したスキーマ (OpenAPI や JSON スキーマなど) を使用すると、エージェントのコア エンジンを書き直すことなく、複雑な計算機であっても新しい API であっても、新しいツールを追加できます。
Decoupling: By treating tools as microservices, you separate the logic of the tool (e.g., how the web search is performed) from the logic of the agent (e.g., how the agent decides to use it).
Standardized Interfaces: Using a consistent schema (like OpenAPI or JSON Schema) allows you to add new tools—whether it’s a complex calculator or a new API—without rewriting the agent’s core engine.