Skip to content

Commit

Permalink
refactor: change config type to bedrock-knowledge-base for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykchen committed May 21, 2024
1 parent b77092f commit 76abb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/targets/bedrock_knowledge_bases.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The principal must have the following permissions:

```yaml title="agenteval.yml"
target:
type: bedrock-knowledgebase
type: bedrock-knowledge-base
model_id: my-model-id
knowledge_base_id: my-kb-id
```
Expand Down
2 changes: 1 addition & 1 deletion src/agenteval/targets/target_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"bedrock-agent": BedrockAgentTarget,
"q-business": QBusinessTarget,
"sagemaker-endpoint": SageMakerEndpointTarget,
"bedrock-knowledgebase": BedrockKnowledgeBaseTarget,
"bedrock-knowledge-base": BedrockKnowledgeBaseTarget,
}


Expand Down

0 comments on commit 76abb35

Please sign in to comment.