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

package analysis // golang.org/x/tools/go/analysis type Pass struct { ... // AllObjectFacts returns a new slice containing all object // facts of the analysis's FactTypes in unspecified order. AllObjectFacts func() []ObjectFact . (if unsure, please run git pull --rebase upstream main). #530

Closed
wants to merge 199 commits into from

Conversation

osorou
Copy link

@osorou osorou commented Oct 21, 2024

Update 22.10.2024

Description of the change

Motivation

Type of change

Choose one: (Bug fix | Feature request | Documentation | Other)

Checklist

  • I have performed a self-review of my code.
  • I have added detailed comments to my code where applicable.
  • I have verified that my change does not break existing code.
  • My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
  • I am familiar with the Google Style Guide for the language I have coded in.
  • I have read through the Contributing Guide and signed the Contributor License Agreement.

kyolee415 and others added 30 commits October 3, 2023 19:52
What's changed:

- Update the version of ChromaDB to 4.13.
- Re-generate the `poetry.lock` file.
- Update Python scripts to migrate ChromaDB from 3.21 to 4.13
  (See https://docs.trychroma.com/migration).
- Updated README to clarify when to delete an existing vector database.
- Update the chatbot UI template to use "PaLM" to refer to the AI model.

Sept 28, 2023
Changing closed-issue-reason to not_planned (default value) cc @google/gtech-llm-support
This way when stale bot closes issues due to lack of activity we know it was not resolved as per the users requirements.
…oogle#140)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#142)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Change all tags to "demos"

Fix typo in docs-agent config
* [Release] Version 0.1.1

What's changed:

- Update the version of ChromaDB to 4.13.
- Re-generate the `poetry.lock` file.
- Update Python scripts to migrate ChromaDB from 3.21 to 4.13
  (See https://docs.trychroma.com/migration).
- Updated README to clarify when to delete an existing vector database.
- Update the chatbot UI template to use "PaLM" to refer to the AI model.

Sept 28, 2023

* [Release] version 0.1.2

What's changed:

- Refactored the `chatbot/chatui.py` to consolidate methods into `ask_model()`.
- Updated the element names in the `result.html` template.
- Cleaned up the code related to reading and replacing custom error messages.
- Added more comments describing each prompt in the `ask_model()` method.
- Moved the role of `condition.txt` to `config.yaml`.
- Updated the Docs Agent module to read custom prompt text from `config.yaml`.
- Removed the `condition.txt` file.
- Re-generated the `poetry.lock` file to be up to date.

October 6, 2023
* Initial commit of `pipet-code-agent`

This is the initial import of a VS Code extension template for
integrating with the PaLM API.

Co-authored-by: Joe Fernandez <[email protected]>
Co-authored-by: Shilpa Kancharla <[email protected]>

* Add pipet to repo metadata

---------

Co-authored-by: Joe Fernandez <[email protected]>
Co-authored-by: Shilpa Kancharla <[email protected]>
* Fixups

* fix json

* Update tuning_quickstart_python.ipynb
…oogle#153)

Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.5.1...v7.5.4)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nt (google#152)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oogle#154)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) and [google-gax](https://github.com/googleapis/gax-nodejs). These dependencies needed to be updated together.

Updates `protobufjs` from 7.2.3 to 7.2.4
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.2.3...protobufjs-v7.2.4)

Updates `google-gax` from 3.6.0 to 3.6.1
- [Release notes](https://github.com/googleapis/gax-nodejs/releases)
- [Changelog](https://github.com/googleapis/gax-nodejs/blob/main/release-please-config.json)
- [Commits](googleapis/gax-nodejs@v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
- dependency-name: google-gax
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Use candidates[0]

* Update makersuite_chat_prompt.ipynb
The `embeddings-gecko-001` model doesn't seem to like anything over 10k,
so filter them out in the tutorial.
We intentionally ignore `.vscode/` dirs, but in this case we want them
to bootstrap the run/debug workflow.
* [Release] 0.1.3

What's changed:

- Created Apps Script to process Google docs, PDF, and Gmail threads. See
  `apps_script/README.md`.
- Added `third_party/g2docsmd-html` which is the base for converting files to
  markdown.
- Updated the main `README.md` for clarity.
- Created a `scripts/README.md` to better explain content processing.

* [Fix] Fix readme links.

* [Fix] Fix symlink to third_party.

* [Fix] Fix symlink to exportmd.gs to be relative.

* [Fix] Fix symlink.
What's changed:

- Bug fix: Update `docs_agent.py` to remove a no-longer-in-use error message variable.
- Clean up the prompt format in Docs Agent
  - Context is added to prompts as Markdown
  - Remove extra new lines in context
  - Add extra new lines after the instruction and before the question in prompts.
- Remove the warning message in the Chroma module, which as displayed
  when launching the chatbot.
- Update the embeddings diagrams in the main `README` file.
- Minor updates in the main `README` file.
* [Release] Docs Agent version 0.1.4

What's changed:

- Bug fix: Update `docs_agent.py` to remove a no-longer-in-use error message variable.
- Clean up the prompt format in Docs Agent
  - Context is added to prompts as Markdown
  - Remove extra new lines in context
  - Add extra new lines after the instruction and before the question in prompts.
- Remove the warning message in the Chroma module, which as displayed
  when launching the chatbot.
- Update the embeddings diagrams in the main `README` file.
- Minor updates in the main `README` file.

* [Release] Docs Agent version 0.1.5

What's changed:

- Update the `poetry.lock` file to bump up the version of `werkzeug`
- Update the introduction paragraph of the main `README` file.
- Add a new diagram on Docs Agent's pre-processing flow of various doc types.
- Update the `README` file in the `script` directory to include the diagram.
* Update stale.yml

* Update labeler.yml
* [Release] Docs Agent version 0.1.4

What's changed:

- Bug fix: Update `docs_agent.py` to remove a no-longer-in-use error message variable.
- Clean up the prompt format in Docs Agent
  - Context is added to prompts as Markdown
  - Remove extra new lines in context
  - Add extra new lines after the instruction and before the question in prompts.
- Remove the warning message in the Chroma module, which as displayed
  when launching the chatbot.
- Update the embeddings diagrams in the main `README` file.
- Minor updates in the main `README` file.

* [Release] Docs Agent version 0.1.5

What's changed:

- Update the `poetry.lock` file to bump up the version of `werkzeug`
- Update the introduction paragraph of the main `README` file.
- Add a new diagram on Docs Agent's pre-processing flow of various doc types.
- Update the `README` file in the `script` directory to include the diagram.

* [Release] Docs Agent version 0.1.6

What's changed:

- Update the prompt condition to be more specific and follow
  best practices in prompting.
- Enable the chatbot server to provide a custom condition string to
  the DocsAgent class.
- Bug fix: Provide a custom condition when asking for 5 related
  questions to the PaLM model.
- Add a new config variable to specify the log level to be "VERBOSE"
- Improve the rendering of code text and code blocks on the chat app UI.
- Rephrase the sentence that describes the page, section, and subsection
  structure of Markdown pages in the `markdown_to_plain_text.py` script.
- Update the pre-processing diagram to fix a typo (`appscripts` to `apps_script`)
* fixed documentation for docs-agent demo

* Update README.md
* Sync notebooks with the site.

Fix formatting.
Add licenses.
Fix buttons.

* Fix site links.

* Fix github and colab links
Mainly to update the img URLs for the new domain. Also includes latest
content.
pcoet and others added 7 commits September 10, 2024 06:54
* Minor fixes on python tutorial thanks to PM feedback

* Using GEMINI_API_KEY instead of GOOGLE_API_KEY

* Using Flash instead of Pro
* [docs-agent] Clean up Docs Agent's README.md files.

* [Release] Docs Agent version 0.3.1

What's changed:

- Bug fixes in the Docs Agent web app UI.
- Added more templates for the Docs Agent web app: widget and experimental
- A new custom splitter added: FIDL (.fidl) file specific splitter.

* [docs] Update the git clone instructions on Docs Agent's CLI setup
guide.

* [docs] Minor edits in Docs Agent's CLI setup guide.

* [Docs Agent] Release of Docs Agent v 0.3.2.

What's change:

- Support the new Gemini 1.5 models in preview.
- Add new experimental CLI features to interact with Gemini models
  directly from a Linux terminal: `agent tellme` and `agent helpme`.
- Better handle uploading of text chunks using the Semantic Retrieval API.
- Add a new chat UI feature to provide a page for viewing logs.
- Update the Google Generative AI SDK version to `0.5.0`.
- Refactor the pre-preprocessing module (in progress).
- Remove unused code and type mismatch errors.
- Bug fixes.

* [docs-agent] Release of Docs Agent v.0.3.3

What's changed:

- Added a new post-processing feature to delete existing chunks
  in databases if they are no longer found in source dataset.
- Updated the pre-processing module to make sure text chunks
  are not bigger than 5 KB for generating embeddings.
- Added a feature to display the distribution of chunk sizes
  after running `agent chunk`.
- Added more `agent` commandlines and options.
- Updated the "Rewrite" button to the "Feedback" button by default.
- Bug fixes.

* [Docs Agent] Release of Docs Agent v.0.3.4

What's changed

-  **Enhanced file processing:** Process an entire directory with the
   `agent helpme` command and export results to a `responses.yaml` file.
-  **Improved session control:** Manage conversation context using the
   `--new` and `--cont` flags with `agent helpme`.
-  **Debugging tools:** Capture detailed logs for troubleshooting and
   export them to CSV with the new `agent write-logs-to-csv` command.
-  **Documentation expansion:** Explore updated configuration references,
   recent release notes, and a new concept doc on chunking.
-  **Bug fixes:** Added fixes for the FIDL splitter, file handling, and
   blank results, and updates to various README files.

* [Docs Agent] Bug fix - Fix the "index out of range" errors in Docs
Agent's chat web app.

* [Docs Agent] Release of Docs Agent v 0.3.5.

What's changed:

- **`agent runtask` command:** Run tasks defined in `.yaml` files, for example,
  generating release notes based on commit messages.
- **Session Management:** Start and maintain sessions using `--new` and `--cont`
  flags with the `helpme` and `tellme` commands.
- **CLI Command Refactoring:** The CLI is more modular and easier to extend
  with new commands.
- **Web App Mode Updates:** A new `widget-pro` mode is added as an
  iFrame-friendly template.
- **Bug Fixes:**  Various bug fixes related to flags, UI, and file handling.

* [cli] Update the pyproject.toml file missed in the previos commit for
0.3.5 release.

* [Docs Agent] Remove unused CSS files from the previous 0.3.5 version
commit.

* [Docs Agent] Release of Docs Agent v 0.3.6.

What's changed:

- Runtask enhancement: The `runtask` command allows specifying
  a custom input string using the `--custom_input` flag.
- ExtractWorkflows task: This new task extracts workflows and
  commandlines from a source document.
- HelpPolishPrompts task: This task helps users polish prompts
  in a task file.
- IndexPageGenerator task: This task generates an index page
  describing files in a given directory.
- Chat app bug fix: Fixed an issue where + characters were
  removed from the page title.
…ponse's (google#524)

metadata returns entries containing an empty string.

- Plus update the DraftReleaseNotes tasks with polished prompts.
- Add a task file example to the main README.md file.
- Minor update in the ExtractWorkflows task to remove extra spaces.
…le#526)

I have corrected incorrect URL for accessing the Kaggle Gemma-2 model checkpoint and weight directory from "google/gemma-2-2b/pyTorch/gemma-2-{VARIANT}" to "google/gemma-2/pyTorch/gemma-2-{VARIANT}". 

I have updated the URL after verifying on the Kaggle platform and also have successfully implemented and tested in a Colab environment. 

Please find the replicated [gist](https://colab.sandbox.google.com/gist/RenuPatelGoogle/711a744401b32b30048c2f100d0ab7d2/kaggle_gemma2.ipynb) here for the same.
@osorou osorou requested a review from a team as a code owner October 21, 2024 23:18
Copy link

google-cla bot commented Oct 21, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:documentation Update docs labels Oct 21, 2024
@markmcd markmcd added status:awaiting user response Awaiting a response from the author and removed status:awaiting review PR awaiting review from a maintainer labels Oct 24, 2024
@osorou osorou changed the title .Update quickstart_colab.ipynb . (if unsure, please run git pull --rebase upstream main). Oct 26, 2024
Copy link

Marking this pull request as stale since it has been open for 14 days with no activity. This PR will be closed if no further activity occurs.

@github-actions github-actions bot added the status:stale Issue/PR will be closed automatically if there's no further activity label Nov 10, 2024
@osorou osorou changed the title . (if unsure, please run git pull --rebase upstream main). . (if unsure, please run git pull --rebase upstream main). t Nov 14, 2024
@osorou osorou changed the title . (if unsure, please run git pull --rebase upstream main). t package analysis // golang.org/x/tools/go/analysis type Pass struct { ... // AllObjectFacts returns a new slice containing all object // facts of the analysis's FactTypes in unspecified order. AllObjectFacts func() []ObjectFact . (if unsure, please run git pull --rebase upstream main). Nov 14, 2024
@osorou osorou changed the base branch from main to MarkDaoust-patch-4 November 14, 2024 21:05
@osorou osorou closed this Nov 14, 2024
@github-actions github-actions bot removed the status:awaiting user response Awaiting a response from the author label Nov 14, 2024
@osorou osorou deleted the patch-1 branch November 15, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:documentation Update docs status:stale Issue/PR will be closed automatically if there's no further activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.