mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
aab621f5eb
* Fix tool normalization and provider samples - restore callable/single-tool normalization paths and unset tool-choice behavior\n- consolidate and expand chat/provider samples (OpenAI/Azure/Anthropic/Ollama/Bedrock)\n- migrate Bedrock lazy import surface to agent_framework.amazon and move provider samples Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * small fix in sample * Finalize provider, samples, and core cleanup Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix CopilotTool passthrough in agent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix link --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
681 B
681 B
Bedrock Package (agent-framework-bedrock)
Integration with AWS Bedrock for LLM inference.
Main Classes
BedrockChatClient- Chat client for AWS Bedrock modelsBedrockChatOptions- Options TypedDict for Bedrock-specific parametersBedrockGuardrailConfig- Configuration for Bedrock guardrailsBedrockSettings- Pydantic settings for Bedrock configuration
Usage
from agent_framework.amazon import BedrockChatClient
client = BedrockChatClient(model_id="anthropic.claude-3-sonnet-20240229-v1:0")
response = await client.get_response("Hello")
Import Path
from agent_framework.amazon import BedrockChatClient