Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
detsutut authored Sep 30, 2024
1 parent db98d46 commit 64406c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ The `profile` name you choose can be used later in `aws_login_mfa` in place of `
<!-- USAGE EXAMPLES -->
## Usage

Here is a minimal example of how the AWS Bedrock models can be invoked with `bedrock-inference`.

```python
from bedrock_inference import bedrock
Expand All @@ -80,6 +82,8 @@ answer = caller.invoke_model(prompt="What's the conceptual opposite of 'Hello Wo
print(answer)
```

A more extensive example, including advanced usage, can be found in [this notebook](bedrock_inference_example.ipynb).

<!-- CONTACTS AND USEFUL LINKS -->
## Contacts and Useful Links

Expand Down

0 comments on commit 64406c5

Please sign in to comment.