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

DOC - replacing gpt4 with gpt4o in example notebooks #313

Merged
merged 20 commits into from
Aug 13, 2024

Conversation

jsong468
Copy link
Contributor

@jsong468 jsong468 commented Aug 2, 2024

Description

Replacing gpt4 with gpt4o as default in most of the docs and renamed AzureOpenAIChatTarget --> AzureOpenAITextChatTarget. I kept the use of the AzureOpenAITextChatTarget in some of the demos so users can see how it's used, including the first part of the how_to_guide, many_shot_jailbreak, tree_of_attacks_with_pruning, and 3_custom_targets. In the targets folder, gpt4-o is now a core page while gpt-v and text only gpt are moved to supplementary pages. In the multi-modal targets demo, gpt-v is replaced by gpt4-o demo with text and image as input. Targets in the converters, scoring, memory pages use gpt4-o now. Tests remain using text-only gpt, and I changed the naming to AzureOpenAITextChatTarget.

Also added Crucible API key to env_example.

Tests and Documentation

I ran the notebooks without error and used jupyter nbconvert --to script command to convert from notebook to python script. All tests compiled and ran successfully.

@jsong468 jsong468 changed the title DOC-replacing gpt4 with gpt4o in example notebooks DOC-[DRAFT] replacing gpt4 with gpt4o in example notebooks Aug 2, 2024
@jsong468 jsong468 marked this pull request as draft August 2, 2024 22:44
@jsong468 jsong468 changed the title DOC-[DRAFT] replacing gpt4 with gpt4o in example notebooks [DRAFT] DOC - replacing gpt4 with gpt4o in example notebooks Aug 2, 2024
@jsong468 jsong468 marked this pull request as ready for review August 8, 2024 22:13
@jsong468 jsong468 changed the title [DRAFT] DOC - replacing gpt4 with gpt4o in example notebooks DOC - replacing gpt4 with gpt4o in example notebooks Aug 8, 2024
Copy link
Contributor

@nina-msft nina-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! A few minor comments but otherwise looks great :-) Let me know if you have any questions.

@jsong468 jsong468 merged commit 5b9a41c into Azure:main Aug 13, 2024
5 checks passed
@jsong468 jsong468 deleted the 3046-GPT4O branch August 13, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants