Skip to content

Commit

Permalink
chore: Replace embedded images from Notebooks to reduce file size (#1707
Browse files Browse the repository at this point in the history
)
  • Loading branch information
holtskinner authored Feb 7, 2025
1 parent 0e2eb64 commit a1cf2ca
Show file tree
Hide file tree
Showing 19 changed files with 72 additions and 1,157 deletions.
2 changes: 2 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,7 @@ tion
titlebar
tobytes
toolcall
toolu
toself
toset
tqdm
Expand Down Expand Up @@ -1149,6 +1150,7 @@ vnc
voiceover
vos
votre
vrtx
vtotal
vulnz
waterjet
Expand Down
3 changes: 2 additions & 1 deletion .github/linters/.textlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"defaultTerms": true,
"exclude": [
"README",
"VS Code"
"VS Code",
"website"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions conversation/chat-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ is a feature within
that is built on top of functionality in
[Dialogflow CX](https://cloud.google.com/dialogflow).

![Vertex AI Conversation Demo](static/vertex-ai-conversation.png)
![Vertex AI Conversation Demo](https://storage.googleapis.com/github-repo/generative-ai/conversation/vertex-ai-conversation.png)

With a Data Store Agent, you can provide a website domain, structured data, or
unstructured data, then the Data Store Agent parses your content and creates a
virtual agent that is powered by data stores and large language models. Your
customers and end users can then have conversations with the agent and ask
questions about the content. Refer to the
[Data Store Agent documentation](https://cloud.google.com/generative-ai-app-builder/docs/agent-usage)
and codelab to
and Codelab to
[Create a Generative Chat App with Vertex AI Conversation](https://codelabs.developers.google.com/codelabs/vertex-ai-conversation)
for more information.

Expand Down
4 changes: 2 additions & 2 deletions conversation/chat-app/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<Navbar let:hidden let:toggle class="bg-[#B1D6FC]">
<NavBrand href="/">
<img src="vertex-ai-logo.png" class="mr-3 h-6 sm:h-9" alt="Vertex AI Conversation" />
<img src="https://storage.googleapis.com/github-repo/generative-ai/conversation/vertex-ai-logo.png" class="mr-3 h-6 sm:h-9" alt="Vertex AI Conversation" />
<span class="self-center whitespace-nowrap text-xl font-semibold text-black dark:text-white"
>Vertex AI Conversation Demo</span>
</NavBrand>
Expand Down Expand Up @@ -85,7 +85,7 @@
Watch, or Pixel Tablet.

<img
src="how-chat-works.png"
src="https://storage.googleapis.com/github-repo/generative-ai/conversation/how-chat-works.png"
alt="Lifecycle of a Data Store Agent Question"
class="mx-auto mt-4" />

Expand Down
Binary file removed conversation/chat-app/static/how-chat-works.png
Binary file not shown.
Binary file not shown.
Binary file removed conversation/chat-app/static/vertex-ai-logo.png
Binary file not shown.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gemini/orchestration/intro_langchain_gemini.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions gemini/prompts/examples/chain_of_thought_react.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gemini/sample-apps/swot-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A web application that performs automated [SWOT analysis](https://en.wikipedia.org/wiki/SWOT_analysis) (Strengths, Weaknesses, Opportunities, Threats) analysis using the [Gemini 2.0 Flash model](https://ai.google.dev/gemini-api/docs/models/gemini-v2) and the [Pydantic AI](https://ai.pydantic.dev/) agent framework. The application is built with [FastAPI](https://fastapi.tiangolo.com/), [HTMX](https://htmx.org/), and [Tailwind CSS](https://tailwindcss.com/).

![SWOT Analysis Demo](swot-agent.gif)
![SWOT Analysis Demo](https://storage.googleapis.com/github-repo/generative-ai/sample-apps/swot-agent/swot-agent.gif)

The agent includes three tools:

Expand Down
Binary file removed gemini/sample-apps/swot-agent/swot-agent.gif
Binary file not shown.
876 changes: 14 additions & 862 deletions gemini/use-cases/marketing/creative_content_generation.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions language/prompts/examples/chain_of_thought_react.ipynb

Large diffs are not rendered by default.

137 changes: 18 additions & 119 deletions language/use-cases/marketing-image-overlay/marketing_image_overlay.ipynb

Large diffs are not rendered by default.

19 changes: 1 addition & 18 deletions partner-models/claude/claude_multimodal_function_calling.ipynb

Large diffs are not rendered by default.

91 changes: 7 additions & 84 deletions vision/getting-started/image_editing_maskmode.ipynb

Large diffs are not rendered by default.

53 changes: 4 additions & 49 deletions vision/getting-started/image_generation.ipynb

Large diffs are not rendered by default.

0 comments on commit a1cf2ca

Please sign in to comment.