Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor update to S3 functions cookbook #1679

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update How_to_automate_S3_storage_with_functions.ipynb
narenoai committed Feb 10, 2025
commit d6bed81d4be5a925828162be6c5371383939af9e
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"id": "5478248c",
"metadata": {},
"source": [
"This code demonstrates how to interact with ChatGPT functions to perform tasks related to Amazon S3 buckets. The notebook covers S3 bucket key functionalities such as running simple listing commands, searching for a specific file in all buckets, uploading a file to a bucket, and downloading a file from a bucket. The OpenAI Chat completion API understands the user instructions, generates the natural language responses, and extracts appropriate function calls based on the user's input.\n",
"This code demonstrates how to interact with ChatGPT functions to perform tasks related to Amazon S3 buckets. The notebook covers S3 bucket key functionalities such as running simple listing commands, searching for a specific file in all buckets, uploading a file to a bucket, and downloading a file from a bucket. The OpenAI Chat API understands the user instructions, generates the natural language responses, and extracts appropriate function calls based on the user's input.\n",
"\n",
"*Requirements*: \n",
"\n",
@@ -452,7 +452,7 @@
"metadata": {},
"outputs": [],
"source": [
"search_word = '<word>'\n",
"search_word = '<file_name_part>'\n",
"bucket_name = '<bucket_name>'\n",
"print(run_conversation(f'search for a file contains {search_word} in {bucket_name}'))"
]