Skip to content

Commit

Permalink
update br (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyliu513 committed Aug 16, 2024
1 parent 6c46d41 commit a5655b0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aws/bedrock1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
'''
Put following parameter to a .env file
TRACELOOP_API_KEY=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
'''

from dotenv import load_dotenv
load_dotenv()

Expand Down
10 changes: 10 additions & 0 deletions aws/langchain-bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
/Users/gyliu/.aws
'''

'''
AWS Bedrock Pricing https://aws.amazon.com/bedrock/pricing/
| **Amazon Titan Models** | **Price per 1,000 Input Tokens** | **Price per 1,000 Output Tokens** |
|------------------------------------|----------------------------------|-----------------------------------|
| Amazon Titan Text Premier | $0.0005 | $0.0015 |
| Amazon Titan Text Lite | $0.00015 | $0.0002 |
| Amazon Titan Text Express | $0.0002 | $0.0006 |
'''

from dotenv import load_dotenv
load_dotenv()

Expand Down

0 comments on commit a5655b0

Please sign in to comment.