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>
26 lines
681 B
Markdown
26 lines
681 B
Markdown
# Bedrock Package (agent-framework-bedrock)
|
|
|
|
Integration with AWS Bedrock for LLM inference.
|
|
|
|
## Main Classes
|
|
|
|
- **`BedrockChatClient`** - Chat client for AWS Bedrock models
|
|
- **`BedrockChatOptions`** - Options TypedDict for Bedrock-specific parameters
|
|
- **`BedrockGuardrailConfig`** - Configuration for Bedrock guardrails
|
|
- **`BedrockSettings`** - Pydantic settings for Bedrock configuration
|
|
|
|
## Usage
|
|
|
|
```python
|
|
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
|
|
|
|
```python
|
|
from agent_framework.amazon import BedrockChatClient
|
|
```
|