-
Notifications
You must be signed in to change notification settings - Fork 123
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
Chatgpt Agent Example #1539
Chatgpt Agent Example #1539
Conversation
I am not sure whether should I provide the Dockerfile since the chatgpt agent hasn't been released in flytekit. |
docs/contribute.md
Outdated
@@ -331,7 +331,7 @@ documentation. | |||
Verify that the code and documentation look as expected: | |||
|
|||
- Learn about the documentation tools [here](https://docs.flyte.org/en/latest/community/contribute.html#documentation) | |||
- Install the requirements by running `pip install -r docs-requirements.txt`. | |||
- Install the requirements by running `pip install -r docs-requirements.in`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we change it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be resolved by running pip-compile docs-requirements.in
first, then pip install -r requirements.txt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my case, the docs-requirements.txt
is generated by python3.11
.
I use python 3.9
and the error says that some modules required python>=3.10
.
So I just install docs-requirements.in
instead.
Do you mean
pip-compile docs-requirements.in
pip install -r docs-requirements.txt
compile it again, and install it?
I think it might work, too, but installingdocs-requirements.in
will give us more flexibility to support all python versions, at least frompython3.8
topython3.12
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will want to resolve this in a separate PR so it doesn't block merging the ChatGPT example and updates to the other agent examples. @Future-Outlier would you be able to undo this change in this branch and create a separate branch and PR for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, thank you!
docs/contribute.md
Outdated
@@ -331,7 +331,7 @@ documentation. | |||
Verify that the code and documentation look as expected: | |||
|
|||
- Learn about the documentation tools [here](https://docs.flyte.org/en/latest/community/contribute.html#documentation) | |||
- Install the requirements by running `pip install -r docs-requirements.txt`. | |||
- Install the requirements by running `pip install -r docs-requirements.in`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be resolved by running pip-compile docs-requirements.in
first, then pip install -r requirements.txt
?
examples/chatgpt_agent/chatgpt_agent/chatgpt_agent_example_usage.py
Outdated
Show resolved
Hide resolved
examples/chatgpt_agent/chatgpt_agent/chatgpt_agent_example_usage.py
Outdated
Show resolved
Hide resolved
examples/chatgpt_agent/chatgpt_agent/chatgpt_agent_example_usage.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
…ge.py Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
Co-authored-by: Nikki Everett <[email protected]> Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
1557f2b
to
b9f28bf
Compare
Docs link
Index: https://flyte--1539.org.readthedocs.build/projects/cookbook/en/1539/auto_examples/chatgpt_agent/index.html
example: https://flyte--1539.org.readthedocs.build/projects/cookbook/en/1539/auto_examples/chatgpt_agent/chatgpt_agent_example_usage.html
Screenshots
Tracking Issues
flyteorg/flyte#3936
Related PRs
flyteorg/flyte#4992