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

Updating dev #310

Merged
merged 113 commits into from Dec 20, 2023
Merged

Updating dev #310

merged 113 commits into from Dec 20, 2023

Conversation

iamthuya
Copy link
Contributor

No description provided.

polong-lin and others added 30 commits July 20, 2023 19:03
* Update main -> dev (#95)

* minor improvemnts to intro_palm_api.ipynb

* fix notebook path summarization and qa, add grocerybot (#77)

* fixed error w langchain GCSDirectoryLoader

* fix typos, upgraded package ver

* fixed pkg restart code

* fix for #88

* fixed all the run, view, deploy links (#101)

* fixed all the run, view, deploy links. Added a script that fixes the links automatically

* added align left to table

* Update info to data governance & security information (#106)

* fixed broken img link

* Dev -> main (#96)

* minor improvemnts to intro_palm_api.ipynb

* fix notebook path summarization and qa, add grocerybot (#77)

* fixed error w langchain GCSDirectoryLoader

* fix typos, upgraded package ver

* fixed pkg restart code

* fix for #88

---------

Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com>

* Update intro_langchain_palm_api.ipynb (#103)

update broken hyper links

* update data gov info to documentation link

---------

Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com>
Co-authored-by: yadavj2008 <105886306+yadavj2008@users.noreply.github.com>

* Create notebook for advanced product description generation (#125)

* Create notebook for advanced product description generation

Demonstration of generation and evaluation of product descriptions using product attributes using advanced methods across langchain. zero-shot and kNN based fewshot prompting, as well as Vertex LLM embeddings for both tuned and regular models.

* Create notebook for advanced product description generation

Demonstration of generation and evaluation of product descriptions using product attributes using advanced methods across langchain. zero-shot and kNN based fewshot prompting, as well as Vertex LLM embeddings for both tuned and regular models.

* add user-specified files

* fix link formatting for buttons

* fix kernel restart code

* add new assets to README

* renamed the scirpt and changed the wordings for redirect links

* fixed the README.md linting issue

* removed old file

* fixed linting issue

---------

Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com>
Co-authored-by: Thu Ya Kyaw <thuyakyaw@google.com>
Co-authored-by: yadavj2008 <105886306+yadavj2008@users.noreply.github.com>
Co-authored-by: anantnawal <67642890+anantnawal@users.noreply.github.com>
Fixed this typo in the readme:
such as such as -> such as
…gEngine GCS url fix for index creation (#104)

* Update intro_langchain_palm_api.ipynb

* Fix: Langchain intro example selector link corrected.

* Update intro_langchain_palm_api.ipynb

Fix text splitter link in Langchain intro notebook

* Update intro_langchain_palm_api.ipynb

Fix - summarization chain and how to use chain - link corrected.

* Update question_answering_documents_langchain_matching_engine.ipynb

Fix - Vertex AI Matching engine requires GCS url for init_index. The GCS URL was wrong which is corrected and a small typo.
* update imports to GA release

TextGenerationModel, TextEmbeddingModel are now out of preview

* update imports to GA release

TextGenerationModel is now out of preview

* update import vertexai library to GA version of models

* change agent tool var name for clarity

---------

Co-authored-by: Megha Agarwal 
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
* Initial commit of Gen App Builder (Chat App)

* Fix plugin

* Fix refs for GH actions

* Fix checkout for super-linter

* Another attempt to fix linter

* Yet another attempt to fix linter

* User error - linter is failing because PR is a draft

* Add lang attribute to script tag

* Add license headers with https://github.com/google/addlicense

* Fix formatting with prettier

* Fix JSON linting

* Attempt to fix TS linting error

* Fix newline

* Fix ESLint

* Another attempt to fix ESlint and tsconfig

* Fix ESlint

* Trying to make the linters happy again

* Skip TS checks

* TS linting seems to be broken in super-linter

super-linter/super-linter#4445

* Disable TS linting in super-linter config

* Remove README generated by Svelte

* Generalize contents of .firebaserc

* Move all files in site/ up one level

* Add chat app to root README

* Update README
* feat: example notebook for checking data store indexing

* fix: updated per reviewer suggestions

* fix: update input placeholders; add note on auth

---------

Co-authored-by: Patrick Marlow <pmarlow@google.com>
* fix: typo in badge links

* Update gen-app-builder/data-store-status-checker/data_store_checker.ipynb

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>

* Update gen-app-builder/data-store-status-checker/data_store_checker.ipynb

Co-authored-by: Kristopher Overholt <koverholt@gmail.com>

---------

Co-authored-by: Patrick Marlow <pmarlow@google.com>
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
* feat: Add placeholders in App for Sample Queries

* chore: Update "Personalize" to "Recommendations" Feature rename

- Change discovery engine api to just use `v1beta` (Reduces confusion with multiple API Endpoint versions)

* Add additional Query Parameters for contentSearchConfig

* feat: Initial Implementation of Image Search (Text to Image Only)

* feat: Add Image Multimodal Searching to Gen App Builder Demo

* fix: Ran Linter

* disable isort linting

* fix: Added additional error handling

* docs: Update README with information about Image Search

- Update index and image-search to include more instructions

* Updated README for Repo to include links to Gen App Builder Samples

* Updated requirements for discoveryengine (not released yet)

* Added Query Expansion Spec and Spell Correction Spec

- Also fixed incorrect typing

* Update Demo to remove text to image search and add better exception handling.

- Going to check later on text to image (might have been a product regression)
* Update README

* Add/update images

* Update prettier rules

* Update firebase.json

* Updates to app UI

* Update tailwind config

* Markdown formatting

* Update timers

* Update timings

* Update nav links

* Minor edit to placeholder text

* Update screenshot

* Add prettier-plugin-tailwindcss to sort classes

* Linter is failing :(

* Revert firebase config files
* Add Document Summarization with Document AI and PaLM

* fix: Addressed review comments

* renamed "docai" to "documentai"

* feat: Add Q & A with Document AI, Matching Engine and PaLM
)

Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
* rm .vscode/

* folder restructuring init

* updated READMEs w new folder structure

* fix notebook button links

* update README formatting

* fix broken links

* convert html to md for README table

* fix broken link for RESOURCES.md

* remove links for vision/speech

* remove links using picture tag for vision/speech

* remove links using md # for vision/speech

* add link to language/

* folder restructure; add README (#3)

* chore: Ran `nox -s blacken`
 -  to satisfy linter

* Add README.md for Gen App Builder

---------

Co-authored-by: Holt Skinner <holtskinner@google.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
* chore: Repository Reorg cleanup

- Moved Document AI Notebooks to the language folder (fixed redirect links)
- Fixed markdown lint errors across the repository
- Converted table in README.md to pure HTML to make it easier to read.
- Changed github superlinter to the [new link][1]

[1]: https://github.com/super-linter/super-linter#:~:text=NOTICE%3A%20If%20your%20use%20of%20the%20super%2Dlinter%20action%20failed%20around%20April%2026th%2C%202023%2C%20we%20changed%20the%20organization%20name%20from%20github%20to%20super%2Dlinter%20so%20you%20will%20need%20to%20update%20your%20references%20to%20this%20action%20from%20github/super%2Dlinter%20to%20super%2Dlinter/super%2Dlinter.

* Add line-length to markdown lint ignore

* reformatting html table
* adding visual captioning and visual question answering notebooks

* fixing linter issue for markdown

* fixed the bullet points
* Addition of new notebook for BQML LLM examples

* updates following code review. more updates to follow.

* Alicia updates following code review

* updates added more context for users following code review

* minor updates for typos

* removed term execute for clarity

* minor typo

* lint fix

* mv folder

* fix gcloud auth instructions, links, typos

* rename folder

* minor fixes based on feedback from Alok
…d others (#164)

* Matching Engine QA: Fix issues with Cloud Storage bucket calls and others

* Fixing linting issues

* add MD explanation for DLing utils folder

* improve MDexplanation for Colab users and restarting kernel

* fix to pdfminer.six versioning

---------

Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Co-authored-by: lavi <lavinigam-gcp>
* Restructure folders based around Vertex AI Search and Conversation Rename

* Fix markdown lint issue

* Address Code Scan comments

* Fix Lint error
- Changed link of DocAI Q&A notebook
- removed READMEs from document qa & Summarization since other sub-folders don't include this
* Add additional videos from Next and dalequark@ to Resources

* Edit spaces
- Add more explicit exception handling
- Add local deployment instructions in readme
- Add highlightjs copy to allow copying of JSON
rocpoc and others added 26 commits November 13, 2023 20:57
This pull request addresses a TypeError encountered in the
`get_embeddings_wrapper` function within the Vertex AI vector search
notebook. The error was caused by passing a pandas Series (df.title)
directly to the function, which expects a list of strings.

Changes Made:
* Modified the call to `get_embeddings_wrapper` by converting the Series
df.title to a list of strings using `tolist()`.
* This change ensures compatibility with the expected input format of
the `model.get_embeddings` method, preventing the TypeError.


Verified that the `get_embeddings_wrapper` function now correctly
processes a list of strings without throwing a TypeError, and confirmed
that the embeddings are successfully retrieved and added to the
DataFrame.
Added Codey Notebooks: 

language/code/
- [Notebook] Introduction to Code Chat
- [Notebook] Introduction to Code Completion
- [Notebook] Introduction to Code Generation
- [Notebook] Retrieval Augmented Generation (RAG) with Codey

---------

Co-authored-by: Lavi Nigam <lavinigam-gcp>
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Updated the README file in all sample applications to include an
informational message at the top that before the various commands are
run, they will need to be in the correct folder.

Often folks forget to be in the right application folder before
executing the commands. This causes the commands to fail. The addition
of the instruction above will help to ensure that the user is in the
right folder and then the commands are run.

---------

Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Removing /vector-search folder as we've updated the docs referring the
notebooks under this folder.
(As requested after talking to Kaz Sato)

1. Switched `IAM` and `gcloud` command
2. Added 'Service Usage Admin' to the IAM permissions. This should
unblock the `gcloud services enable ...` command.
3. Added some double quotes around variables in shell to make it safer
to run these commands (impredictable behaviour if empty string).

Note this is needed in Workbench mode, since it runs as your compute
Service Account. If it runs as you, you dont need any IAM powerup.
- Updated code to change type from string into list 
- Updated timing of deployment
- Related Buganizer: http://b/311722941
Corrected typo in the reminder to remove resources when done with the
tutorial, specifically to delete the workbench instance.

Co-authored-by: Holt Skinner <holtskinner@google.com>
New gemini folder and notebooks
Adding Gemini sample-apps
This commit resolves a `NameError` encountered due to the missing import
of the `aiplatform` module from `google-cloud-aiplatform` in the script
integrating LangChain with Google Cloud's BigQuery and Vertex AI
services. The addition of the `aiplatform` import statement ensures that
the Vertex AI SDK version can be printed alongside the LangChain
version, enhancing the debuggability and maintainability of the code.
…-app (#279)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 4.4.8 to 4.4.12.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->4.4.12 (2023-12-04)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15223">#15223</a>,
proxy html path should be encoded (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15226">#15226</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15227">#15227</a>)
(<a href="https://github.com/vitejs/vite/commit/fe8b209">fe8b209</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15223">#15223</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15226">#15226</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15227">#15227</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.4.11 (2023-10-05)<!-- raw HTML omitted
--></h2>
<ul>
<li>revert: &quot;fix: use string manipulation instead of regex to
inject esbuild helpers (<a
href="https://github.com/vitejs/vite/commit/54e1275">54e1275</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14094">#14094</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.4.10 (2023-10-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: add source map to Web Workers (fix <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14216">#14216</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14217">#14217</a>)
(<a href="https://github.com/vitejs/vite/commit/df6f32f">df6f32f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14216">#14216</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/14217">#14217</a></li>
<li>fix: handle errors during <code>hasWorkspacePackageJSON</code>
function (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14394">#14394</a>)
(<a href="https://github.com/vitejs/vite/commit/6f6e5de">6f6e5de</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14394">#14394</a></li>
<li>fix: handle sourcemap correctly when multiple line import exists (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14232">#14232</a>)
(<a href="https://github.com/vitejs/vite/commit/218861f">218861f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14232">#14232</a></li>
<li>fix: if host is specified check whether it is valid (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14013">#14013</a>)
(<a href="https://github.com/vitejs/vite/commit/b1b816a">b1b816a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14013">#14013</a></li>
<li>fix: include <code>vite/types/*</code> in exports field (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14296">#14296</a>)
(<a href="https://github.com/vitejs/vite/commit/40e99a1">40e99a1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14296">#14296</a></li>
<li>fix: initWasm options should be optional (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14152">#14152</a>)
(<a href="https://github.com/vitejs/vite/commit/119c074">119c074</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14152">#14152</a></li>
<li>fix: restore builtins list (<a
href="https://github.com/vitejs/vite/commit/f8b9adb">f8b9adb</a>)</li>
<li>fix: use string manipulation instead of regex to inject esbuild
helpers (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14094">#14094</a>)
(<a href="https://github.com/vitejs/vite/commit/128ad8f">128ad8f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14094">#14094</a></li>
<li>fix: ws never connects after restarting server if server.hmr.server
is set (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14127">#14127</a>)
(<a href="https://github.com/vitejs/vite/commit/441642e">441642e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14127">#14127</a></li>
<li>fix(analysis): warnings for dynamic imports that use static template
literals (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14458">#14458</a>)
(<a href="https://github.com/vitejs/vite/commit/0c6d289">0c6d289</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14458">#14458</a></li>
<li>fix(cli): convert special base (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14283">#14283</a>)
(<a href="https://github.com/vitejs/vite/commit/d4bc0fb">d4bc0fb</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14283">#14283</a></li>
<li>fix(css): remove pure css chunk sourcemap (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14290">#14290</a>)
(<a href="https://github.com/vitejs/vite/commit/cd7e033">cd7e033</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14290">#14290</a></li>
<li>fix(css): reset render cache on renderStart (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14326">#14326</a>)
(<a href="https://github.com/vitejs/vite/commit/d334b3d">d334b3d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14326">#14326</a></li>
<li>fix(glob): trigger HMR for glob in a package (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14117">#14117</a>)
(<a href="https://github.com/vitejs/vite/commit/0f582bf">0f582bf</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14117">#14117</a></li>
<li>fix(import-analysis): preserve importedUrls import order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14465">#14465</a>)
(<a href="https://github.com/vitejs/vite/commit/269aa43">269aa43</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14465">#14465</a></li>
<li>fix(manifest): preserve pure css chunk assets (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14297">#14297</a>)
(<a href="https://github.com/vitejs/vite/commit/3d63ae6">3d63ae6</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14297">#14297</a></li>
<li>fix(optimizer): define crawlDeps after scanProcessing and
optimizationResult are complete (fix <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1428">#1428</a>
(<a href="https://github.com/vitejs/vite/commit/fcaf749">fcaf749</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14284">#14284</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/14285">#14285</a></li>
<li>fix(resolve): support submodules of optional peer deps (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14489">#14489</a>)
(<a href="https://github.com/vitejs/vite/commit/104971d">104971d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14489">#14489</a></li>
<li>fix(vite): precisely check if files are in dirs (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14241">#14241</a>)
(<a href="https://github.com/vitejs/vite/commit/c4758d1">c4758d1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14241">#14241</a></li>
<li>feat: improve deno and bun support (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14379">#14379</a>)
(<a href="https://github.com/vitejs/vite/commit/8bc1f9d">8bc1f9d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14379">#14379</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.4.9 (2023-08-07)<!-- raw HTML omitted
--></h2>
<ul>
<li>chore: fix eslint warnings (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14031">#14031</a>)
(<a href="https://github.com/vitejs/vite/commit/4021a0e">4021a0e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14031">#14031</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13938">#13938</a>)
(<a href="https://github.com/vitejs/vite/commit/a1b519e">a1b519e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/13938">#13938</a></li>
<li>fix: dynamic import vars ignored warning (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14006">#14006</a>)
(<a href="https://github.com/vitejs/vite/commit/4479431">4479431</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14006">#14006</a></li>
<li>fix(build): silence warn dynamic import module when
inlineDynamicImports true (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13970">#13970</a>)
(<a href="https://github.com/vitejs/vite/commit/7a77aaf">7a77aaf</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/13970">#13970</a></li>
<li>perf: improve build times and memory utilization (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14016">#14016</a>)
(<a href="https://github.com/vitejs/vite/commit/9d7d45e">9d7d45e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14016">#14016</a></li>
<li>perf: replace startsWith with === (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14005">#14005</a>)
(<a href="https://github.com/vitejs/vite/commit/f5c1224">f5c1224</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/14005">#14005</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/09626f898bbb9e3d68facd0330d4a0acef0cba6a"><code>09626f8</code></a>
release: v4.4.12</li>
<li><a
href="https://github.com/vitejs/vite/commit/fe8b2090236805bb5ad6c2a5b422976523e21da1"><code>fe8b209</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15223">#15223</a>,
proxy html path should be encoded (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15226">#15226</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15227">#15227</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/b50db04a5a47aa855cae6ced026290c2761ffa8d"><code>b50db04</code></a>
release: v4.4.11</li>
<li><a
href="https://github.com/vitejs/vite/commit/54e12755c06a3ac8622ed1da5706fef68b69c50e"><code>54e1275</code></a>
revert: &quot;fix: use string manipulation instead of regex to inject
esbuild helpers</li>
<li><a
href="https://github.com/vitejs/vite/commit/f3a3e77de170166c53ca4d114a110a40bab97463"><code>f3a3e77</code></a>
release: v4.4.10</li>
<li><a
href="https://github.com/vitejs/vite/commit/f8b9adb73dc838f14a41406def918cfd6c9a841e"><code>f8b9adb</code></a>
fix: restore builtins list</li>
<li><a
href="https://github.com/vitejs/vite/commit/104971d9b4b6b3994bc8362e7ffabd7d2bf3c311"><code>104971d</code></a>
fix(resolve): support submodules of optional peer deps (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14489">#14489</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/0c6d289a2a34f3e0cd872013c6b8aa7e97e45eb0"><code>0c6d289</code></a>
fix(analysis): warnings for dynamic imports that use static template
literals...</li>
<li><a
href="https://github.com/vitejs/vite/commit/269aa4393e326888a4ce76cd7a2e6b1f4d5c3102"><code>269aa43</code></a>
fix(import-analysis): preserve importedUrls import order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14465">#14465</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/6f6e5de0ad8418328d52f58f4786f78b70cc6d3d"><code>6f6e5de</code></a>
fix: handle errors during <code>hasWorkspacePackageJSON</code> function
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/14394">#14394</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v4.4.12/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.4.8&new-version=4.4.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/GoogleCloudPlatform/generative-ai/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
…285)

Bumps [undici](https://github.com/nodejs/undici) to 5.26.5 and updates
ancestor dependency
[@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit).
These dependencies need to be updated together.

Updates `undici` from 5.22.1 to 5.26.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nodejs/undici/releases">undici's
releases</a>.</em></p>
<blockquote>
<h2>v5.26.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Drop race condition in connect-timeout test by <a
href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2360">nodejs/undici#2360</a></li>
<li>Remove a couple of unnecessary async functions by <a
href="https://github.com/kibertoad"><code>@​kibertoad</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2367">nodejs/undici#2367</a></li>
<li>Update namespace type with Fetch exports by <a
href="https://github.com/Ethan-Arrowood"><code>@​Ethan-Arrowood</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2361">nodejs/undici#2361</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v5.26.4...v5.26.5">https://github.com/nodejs/undici/compare/v5.26.4...v5.26.5</a></p>
<h2>v5.26.4</h2>
<h2>What's Changed</h2>
<ul>
<li>use esbuild define/hooks by <a
href="https://github.com/KhafraDev"><code>@​KhafraDev</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2342">nodejs/undici#2342</a></li>
<li>fix request's arrayBuffer returning uint8 instead of arraybuffer by
<a href="https://github.com/KhafraDev"><code>@​KhafraDev</code></a> in
<a
href="https://redirect.github.com/nodejs/undici/pull/2344">nodejs/undici#2344</a></li>
<li>fix: skip readMore call if parser is null or undefined by <a
href="https://github.com/iiAku"><code>@​iiAku</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2346">nodejs/undici#2346</a></li>
<li>test: first attempt for flaky fix by <a
href="https://github.com/metcoder95"><code>@​metcoder95</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2337">nodejs/undici#2337</a></li>
<li>test: only include WebSocket in WPT Report where it's landed by <a
href="https://github.com/panva"><code>@​panva</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2351">nodejs/undici#2351</a></li>
<li>Update DispatchInterceptor.md by <a
href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2354">nodejs/undici#2354</a></li>
<li>fix: Avoid error for stream() being aborted by <a
href="https://github.com/BobNobrain"><code>@​BobNobrain</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2355">nodejs/undici#2355</a></li>
<li>fix names with esbuild by <a
href="https://github.com/KhafraDev"><code>@​KhafraDev</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2359">nodejs/undici#2359</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/iiAku"><code>@​iiAku</code></a> made
their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/2346">nodejs/undici#2346</a></li>
<li><a href="https://github.com/Uzlopak"><code>@​Uzlopak</code></a> made
their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/2354">nodejs/undici#2354</a></li>
<li><a
href="https://github.com/BobNobrain"><code>@​BobNobrain</code></a> made
their first contribution in <a
href="https://redirect.github.com/nodejs/undici/pull/2355">nodejs/undici#2355</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v5.26.3...v5.26.4">https://github.com/nodejs/undici/compare/v5.26.3...v5.26.4</a></p>
<h2>v5.26.3</h2>
<p>No release notes provided.</p>
<h2>v5.26.2</h2>
<p>Security Release, CVE-2023-45143.</p>
<h2>v5.26.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix publish undici-types once and for all! by <a
href="https://github.com/Ethan-Arrowood"><code>@​Ethan-Arrowood</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2338">nodejs/undici#2338</a></li>
<li>Fix node detection omfg by <a
href="https://github.com/KhafraDev"><code>@​KhafraDev</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2341">nodejs/undici#2341</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/nodejs/undici/compare/v5.26.0...v5.26.1">https://github.com/nodejs/undici/compare/v5.26.0...v5.26.1</a></p>
<h2>v5.26.0</h2>
<h2>What's Changed</h2>
<ul>
<li>use npm install instead of npm ci by <a
href="https://github.com/Ethan-Arrowood"><code>@​Ethan-Arrowood</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2309">nodejs/undici#2309</a></li>
<li>change default header to <code>node</code> by <a
href="https://github.com/Ethan-Arrowood"><code>@​Ethan-Arrowood</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2310">nodejs/undici#2310</a></li>
<li>chore: change order of the pseudo-headers by <a
href="https://github.com/kyrylodolynskyi"><code>@​kyrylodolynskyi</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2308">nodejs/undici#2308</a></li>
<li>fix: Agent.Options.factory should accept URL object or string as
parameter by <a
href="https://github.com/nicole0707"><code>@​nicole0707</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2295">nodejs/undici#2295</a></li>
<li>build(deps-dev): bump sinon from 15.2.0 to 16.1.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2312">nodejs/undici#2312</a></li>
<li>test: handle npm ignore-scripts settings by <a
href="https://github.com/panva"><code>@​panva</code></a> in <a
href="https://redirect.github.com/nodejs/undici/pull/2313">nodejs/undici#2313</a></li>
<li>feat: respect <code>--max-http-header-size</code> Node.js flag by <a
href="https://github.com/balazsorban44"><code>@​balazsorban44</code></a>
in <a
href="https://redirect.github.com/nodejs/undici/pull/2234">nodejs/undici#2234</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nodejs/undici/commit/9197790ae0d015b40b75fd0c5cdb7420704b5272"><code>9197790</code></a>
Bumped v5.26.5</li>
<li><a
href="https://github.com/nodejs/undici/commit/c31bd88979c04e72ff5f2869b71c630720422ab8"><code>c31bd88</code></a>
Update namespace type with Fetch exports (<a
href="https://redirect.github.com/nodejs/undici/issues/2361">#2361</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/24db5d4eaf8b747e7c9bde4faf797943b6f73c8d"><code>24db5d4</code></a>
Remove a couple of unnecessary async functions (<a
href="https://redirect.github.com/nodejs/undici/issues/2367">#2367</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/63afd9b5e28380dc86de29ade69adaad7efcd231"><code>63afd9b</code></a>
Drop race condition in connect-timeout test (<a
href="https://redirect.github.com/nodejs/undici/issues/2360">#2360</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/dea70e27e4d14952eb7b96da021eb44d24d1159e"><code>dea70e2</code></a>
Bumped v5.26.4</li>
<li><a
href="https://github.com/nodejs/undici/commit/0681760ef1b24a9ddcb257b1a6a121d1825a67c0"><code>0681760</code></a>
fix names with esbuild (<a
href="https://redirect.github.com/nodejs/undici/issues/2359">#2359</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/daf349f6bc35c2e7fe600c323fb7dcfdacc000f6"><code>daf349f</code></a>
fix: Avoid error for stream() being aborted (<a
href="https://redirect.github.com/nodejs/undici/issues/2355">#2355</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/49254c3ea1cc74a01132b8c0a9274cbf94c7289e"><code>49254c3</code></a>
Update DispatchInterceptor.md (<a
href="https://redirect.github.com/nodejs/undici/issues/2354">#2354</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/52a79891f95a20fe380d70cfdf8f8f52410ff1a3"><code>52a7989</code></a>
test: only include WebSocket in WPT Report where it's landed (<a
href="https://redirect.github.com/nodejs/undici/issues/2351">#2351</a>)</li>
<li><a
href="https://github.com/nodejs/undici/commit/40ab05029814c9778b80657d530e943d1cdfc6f2"><code>40ab050</code></a>
test: first attempt for flaky fix (<a
href="https://redirect.github.com/nodejs/undici/issues/2337">#2337</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/nodejs/undici/compare/v5.22.1...v5.26.5">compare
view</a></li>
</ul>
</details>
<br />

Updates `@sveltejs/kit` from 1.22.4 to 1.30.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sveltejs/kit/releases"><code>@​sveltejs/kit</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​sveltejs/kit</code><a
href="https://github.com/1"><code>@​1</code></a>.30.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: prerendered root page with <code>paths.base</code> config uses
correct trailing slash option (<a
href="https://redirect.github.com/sveltejs/kit/pull/10763">#10763</a>)</p>
</li>
<li>
<p>fix: correctly return 404 when a form action is not found (<a
href="https://redirect.github.com/sveltejs/kit/pull/11278">#11278</a>)</p>
</li>
</ul>
<h2><code>@​sveltejs/kit</code><a
href="https://github.com/1"><code>@​1</code></a>.30.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>feat: inline <code>response.arrayBuffer()</code> during ssr (<a
href="https://redirect.github.com/sveltejs/kit/pull/10535">#10535</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: allow <code>&quot;false&quot;</code> value for preload link
options (<a
href="https://redirect.github.com/sveltejs/kit/pull/10555">#10555</a>)</p>
</li>
<li>
<p>fix: call worker <code>unref</code> instead of <code>terminate</code>
(<a
href="https://redirect.github.com/sveltejs/kit/pull/10120">#10120</a>)</p>
</li>
<li>
<p>fix: correctly analyse exported server API methods during build (<a
href="https://redirect.github.com/sveltejs/kit/pull/11019">#11019</a>)</p>
</li>
<li>
<p>fix: avoid error when back navigating before page is initialized (<a
href="https://redirect.github.com/sveltejs/kit/pull/10636">#10636</a>)</p>
</li>
<li>
<p>fix: allow service-worker.js to import assets (<a
href="https://redirect.github.com/sveltejs/kit/pull/9285">#9285</a>)</p>
</li>
<li>
<p>fix: distinguish better between not-found and internal-error (<a
href="https://redirect.github.com/sveltejs/kit/pull/11131">#11131</a>)</p>
</li>
</ul>
<h2><code>@​sveltejs/kit</code><a
href="https://github.com/1"><code>@​1</code></a>.29.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: correctly return 415 when unexpected content types are submitted
to actions (<a
href="https://redirect.github.com/sveltejs/kit/pull/11255">#11255</a>)</p>
</li>
<li>
<p>chore: deprecate <code>preloadCode</code> calls with multiple
arguments (<a
href="https://redirect.github.com/sveltejs/kit/pull/11266">#11266</a>)</p>
</li>
</ul>
<h2><code>@​sveltejs/kit</code><a
href="https://github.com/1"><code>@​1</code></a>.29.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>feat: add <code>resolveRoute</code> to <code>$app/paths</code>,
deprecate <code>resolvePath</code> (<a
href="https://redirect.github.com/sveltejs/kit/pull/11261">#11261</a>)</li>
</ul>
<h2><code>@​sveltejs/kit</code><a
href="https://github.com/1"><code>@​1</code></a>.28.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>chore: deprecate top level promise await behaviour (<a
href="https://redirect.github.com/sveltejs/kit/pull/11175">#11175</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: resolve relative cookie paths before storing (<a
href="https://redirect.github.com/sveltejs/kit/pull/11253">#11253</a>)</p>
</li>
<li>
<p>chore: deprecate cookies.set/delete without path option (<a
href="https://redirect.github.com/sveltejs/kit/pull/11237">#11237</a>)</p>
</li>
<li>
<p>fix: make sure promises from fetch handle errors (<a
href="https://redirect.github.com/sveltejs/kit/pull/11228">#11228</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md"><code>@​sveltejs/kit</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>1.30.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: prerendered root page with <code>paths.base</code> config uses
correct trailing slash option (<a
href="https://redirect.github.com/sveltejs/kit/pull/10763">#10763</a>)</p>
</li>
<li>
<p>fix: correctly return 404 when a form action is not found (<a
href="https://redirect.github.com/sveltejs/kit/pull/11278">#11278</a>)</p>
</li>
</ul>
<h2>1.30.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>feat: inline <code>response.arrayBuffer()</code> during ssr (<a
href="https://redirect.github.com/sveltejs/kit/pull/10535">#10535</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: allow <code>&quot;false&quot;</code> value for preload link
options (<a
href="https://redirect.github.com/sveltejs/kit/pull/10555">#10555</a>)</p>
</li>
<li>
<p>fix: call worker <code>unref</code> instead of <code>terminate</code>
(<a
href="https://redirect.github.com/sveltejs/kit/pull/10120">#10120</a>)</p>
</li>
<li>
<p>fix: correctly analyse exported server API methods during build (<a
href="https://redirect.github.com/sveltejs/kit/pull/11019">#11019</a>)</p>
</li>
<li>
<p>fix: avoid error when back navigating before page is initialized (<a
href="https://redirect.github.com/sveltejs/kit/pull/10636">#10636</a>)</p>
</li>
<li>
<p>fix: allow service-worker.js to import assets (<a
href="https://redirect.github.com/sveltejs/kit/pull/9285">#9285</a>)</p>
</li>
<li>
<p>fix: distinguish better between not-found and internal-error (<a
href="https://redirect.github.com/sveltejs/kit/pull/11131">#11131</a>)</p>
</li>
</ul>
<h2>1.29.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>fix: correctly return 415 when unexpected content types are submitted
to actions (<a
href="https://redirect.github.com/sveltejs/kit/pull/11255">#11255</a>)</p>
</li>
<li>
<p>chore: deprecate <code>preloadCode</code> calls with multiple
arguments (<a
href="https://redirect.github.com/sveltejs/kit/pull/11266">#11266</a>)</p>
</li>
</ul>
<h2>1.29.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>feat: add <code>resolveRoute</code> to <code>$app/paths</code>,
deprecate <code>resolvePath</code> (<a
href="https://redirect.github.com/sveltejs/kit/pull/11261">#11261</a>)</li>
</ul>
<h2>1.28.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>chore: deprecate top level promise await behaviour (<a
href="https://redirect.github.com/sveltejs/kit/pull/11175">#11175</a>)</li>
</ul>
<h3>Patch Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sveltejs/kit/commit/b2b1951e9004a263646154ce46b3fe85df48209d"><code>b2b1951</code></a>
Version Packages (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/11288">#11288</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/5b81a21e7bc3941dcd4184f73469bedd30440943"><code>5b81a21</code></a>
fix: action not found should return 404 (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/11278">#11278</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/5b1d1ab3d33697016bcec41f2cd55d6473b4b24c"><code>5b1d1ab</code></a>
fix: prevent incorrect trailing slash redirect for prerendered root page
when...</li>
<li><a
href="https://github.com/sveltejs/kit/commit/f7b4f1852d51ea4b56969dd821d5db011ada4730"><code>f7b4f18</code></a>
Version Packages (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/11275">#11275</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/594568e96097c62bca7b2e3d2b944b2e08c90b9f"><code>594568e</code></a>
feat: inline Response.arrayBuffer inside load functions during ssr (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/10535">#10535</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/d7ba3bff95d701a27dbf721b570bd8a812228d6b"><code>d7ba3bf</code></a>
fix: call worker <code>unref</code> instead of <code>terminate</code>
(<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/10120">#10120</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/40bb1e619854e8fbbece20efe3824e24ca085468"><code>40bb1e6</code></a>
Allow service workers to import assets (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/9285">#9285</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/7710f6ce5efbf40de065e5f46bc3c5fd854b2be1"><code>7710f6c</code></a>
fix: correctly analyse exported endpoint methods during build (<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/11019">#11019</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/108a6a8f02e41e4346e0b83749f8109217327157"><code>108a6a8</code></a>
docs: clarify <code>onNavigate</code>'s full-page navigation behaviour
(<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/10694">#10694</a>)</li>
<li><a
href="https://github.com/sveltejs/kit/commit/b320e1e2d0f2293f4b5909ee2445e43ad3b6b2ff"><code>b320e1e</code></a>
fix: add <code>&quot;false&quot;</code> value to preload link options
(<a
href="https://github.com/sveltejs/kit/tree/HEAD/packages/kit/issues/10555">#10555</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.30.1/packages/kit">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/GoogleCloudPlatform/generative-ai/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
Gemini & Palm bugfixes
mm rag bugfixes

---------

Co-authored-by: Lavi Nigam <lavinigam-gcp>
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Cloud Shell will redirect localhost to forwarded port, and CORS needs to
be disabled for that network route
Minor improvements to params UX.

- defaults for DATA_STORE_LOCATION --> "global"
- raise exception if PROJECT_ID or DATA_STORE_ID are defaults
- improve the "restart runtime" instructions

Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
## Overview

This is a followup PR to the initial PR/review from #274.

- Adds a sample notebook for grounding in Vertex AI via Google Search
results and Vertex AI Search results
- Example for text generation grounded in Google Search results
- Comparison of results of ungrounded LLM responses with grounded LLM
responses
- Example for text generation grounded in Vertex AI Search results
- Examples for chat generation grounded in Google Search results and
Vertex AI Search results
- Examples for async text and chat generation grounded in Google Search
results and Vertex AI Search results

Since that PR, I've updated the sample prompts, tested with a Vertex AI
Search data store indexed on Google Cloud docs, bumped to the latest
public release of the Python client library, and resolved all issues
from the previous PR related to kwargs for the chat model.
feat(sample): adds flag to more easily and directly run sample app with
Cloud Shell web preview functionality

---------

Co-authored-by: Hussain Chinoy <ghchinoy@google.com>
Add notebook under `language/prompts/examples` to demonstrate using LLM
for generating SQL queries from natural language questions in order to
analyze data in BigQuery.

This notebook covers 1) data prep, 2) model prompt engineering with
few-shot prompting and dynamic schema information retrieval for
grounding, 3) running model predictions on a pre-built evaluation
dataset, 4) evaluating model by executing output on real dataset, in
addition to 5) model scoring.

Acknowledgments:
@karajendran for co-development
@polong-lin for reviews and guidance
@JasperW01 for validating Colab Enterprise access model

---------

Co-authored-by: Kavitha Rajendran <karajendran@google.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
Role "system" in no longer supported in chat. 

Remove it from the reference.
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@iamthuya iamthuya merged commit dc11190 into dev Dec 20, 2023
3 of 4 checks passed
iamthuya added a commit that referenced this pull request Dec 20, 2023
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Co-authored-by: eliasecchig <115624100+eliasecchig@users.noreply.github.com>
Co-authored-by: yadavj2008 <105886306+yadavj2008@users.noreply.github.com>
Co-authored-by: anantnawal <67642890+anantnawal@users.noreply.github.com>
Co-authored-by: Tom <tompakeman@google.com>
Co-authored-by: QuantumMartin <31007551+quantumcode-martin@users.noreply.github.com>
Co-authored-by: Arindam Banerjee <59955214+arindam-b@users.noreply.github.com>
Co-authored-by: Megha Agarwal <agarwal22megha@gmail.com>
Co-authored-by: Kristopher Overholt <koverholt@google.com>
Co-authored-by: Patrick Marlow <kmaphoenix@gmail.com>
Co-authored-by: Patrick Marlow <pmarlow@google.com>
Co-authored-by: Kristopher Overholt <koverholt@gmail.com>
Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: Holt Skinner <holtskinner@google.com>
Co-authored-by: Gábor Bakos <aborg0@users.noreply.github.com>
Co-authored-by: rachael-ds <45947385+rachael-ds@users.noreply.github.com>
Co-authored-by: Rajesh Thallam <rthallam@google.com>
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
Co-authored-by: Ivan Nardini <88703814+inardini@users.noreply.github.com>
Co-authored-by: Romin Irani <1614870+rominirani@users.noreply.github.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Leszek <24715532+uhcel@users.noreply.github.com>
Co-authored-by: Kaz Sato <kazunori279@gmail.com>
Co-authored-by: Katie McLaughlin <katie@glasnt.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erwin Huizenga <111493729+erwinh85@users.noreply.github.com>
Co-authored-by: guruvittal <147344888+guruvittal@users.noreply.github.com>
Co-authored-by: Ashley Xu <139821907+ashleyxuu@users.noreply.github.com>
Co-authored-by: Megan O'Keefe <3137106+askmeegs@users.noreply.github.com>
Co-authored-by: Chris Hanna <christopher.g.hanna@gmail.com>
Co-authored-by: atta-goog <136734735+atta-goog@users.noreply.github.com>
Co-authored-by: smitha-google <102045161+smitha-google@users.noreply.github.com>
Co-authored-by: Gabe Rives-Corbett <395660+grivescorbett@users.noreply.github.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: rocky lubbers <rocky.lubbers@gmail.com>
Co-authored-by: Riccardo Carlesso <palladiusbonton@gmail.com>
Co-authored-by: Pratimamishra-SSK <127853827+Pratimamishra-SSK@users.noreply.github.com>
Co-authored-by: ronanmandel <ronanmandel@gmail.com>
Co-authored-by: Boris-Wilfried <5323628+bwnyasse@users.noreply.github.com>
Co-authored-by: Brenden Durham <bdurham.ai@gmail.com>
Co-authored-by: Kara Greenfield <151587423+kgreenfield2@users.noreply.github.com>
Co-authored-by: Sumukha Kaparthi <sumukhakaparthi@users.noreply.github.com>
Co-authored-by: Preston Holmes <preston@ptone.com>
Co-authored-by: alan blount <alan@zeroasterisk.com>
Co-authored-by: G. Hussain Chinoy <ghchinoy@gmail.com>
Co-authored-by: Hussain Chinoy <ghchinoy@google.com>
Co-authored-by: Roy Arsan <roy.arsan@gmail.com>
Co-authored-by: Kavitha Rajendran <karajendran@google.com>
Co-authored-by: Eric Dong <itseric@google.com>
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.

None yet