Skip to content

Migrate awsbedrock to new search terminology#91

Merged
VirajAgarwal1 merged 12 commits into
mainfrom
migrate/awsbedrock
Feb 11, 2026
Merged

Migrate awsbedrock to new search terminology#91
VirajAgarwal1 merged 12 commits into
mainfrom
migrate/awsbedrock

Conversation

@teetangh
Copy link
Copy Markdown
Contributor

@teetangh teetangh commented Jan 7, 2026

Summary

  • Renamed fts/ to search_based/
  • Renamed gsi/ to query_based/
  • Updated notebook terminology (FTS → Search Vector Index, GSI → Hyperscale and Composite Vector Index)
  • Updated frontmatter (path, title, tags, alt_paths)
  • Updated cross-reference links between tutorials

Changes

  • Folder structure migration
  • Notebook content updates
  • Frontmatter updates with new URL paths

- Renamed fts/ to search_based/
- Renamed gsi/ to query_based/
- Updated notebook terminology (FTS -> Search Vector Index, GSI -> Hyperscale and Composite Vector Index)
- Updated frontmatter (path, title, tags, alt_paths)
- Updated cross-reference links between tutorials
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 7, 2026

Caution

Notebooks or Frontmatter Files Have Been Modified

  • Please ensure that a frontmatter.md file is accompanying the notebook file, and that the frontmatter is up to date.
  • These changes will be published to the developer portal tutorials only if frontmatter.md is included.
  • Proofread all changes before merging, as changes to notebook and frontmatter content will update the developer tutorial.

3 Notebook Files Modified:

Notebook File Frontmatter Included?
awsbedrock/gsi/RAG_with_Couchbase_and_Bedrock.ipynb
awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb
awsbedrock/search_based/RAG_with_Couchbase_and_Bedrock.ipynb

3 Frontmatter Files Modified:

Frontmatter File
awsbedrock/fts/frontmatter.md
awsbedrock/query_based/frontmatter.md
awsbedrock/search_based/frontmatter.md
Note: frontmatter will be checked and tested in the Test Frontmatter workflow.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @teetangh, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive terminology and structural migration for the AWS Bedrock tutorials. The changes ensure that the documentation and example notebooks use the latest search-related terminology, enhancing clarity and consistency across the content. This involves renaming directories, updating content within Jupyter notebooks, and adjusting metadata to reflect the new naming scheme for vector indexes.

Highlights

  • Folder and File Renaming: The fts/ directory was renamed to search_based/ and gsi/ to query_based/ to align with new terminology for vector indexes.
  • Terminology Updates in Notebooks: Jupyter notebooks were updated to replace 'FTS' with 'Search Vector Index' and 'GSI' with 'Hyperscale and Composite Vector Index' for improved clarity.
  • Frontmatter and Link Adjustments: Frontmatter metadata (path, title, tags, alt_paths) and cross-reference links within tutorials were updated to reflect the new naming conventions and ensure accurate navigation.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully migrates the awsbedrock tutorials to the new search terminology, including renaming directories from fts to search_based and gsi to query_based. The content within the Jupyter notebooks and frontmatter files has been updated to reflect these changes, such as replacing 'FTS' with 'Search Vector Index' and 'GSI' with 'Hyperscale and Composite Vector Index'.

My review identified a few minor instances in the query_based notebook where the old 'GSI' terminology was missed. I've added comments to address these for consistency. Overall, this is a solid refactoring that improves clarity and aligns with the updated product terminology.

Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
@teetangh teetangh self-assigned this Jan 29, 2026
…azon Bedrock

- Changed the short title in frontmatter for clarity.
- Updated markdown cells in Jupyter notebooks to improve formatting and consistency.
- Enhanced introductory sections to better describe the tutorial's purpose and usage.
- Ensured all references to Couchbase and Amazon Bedrock are accurate and up-to-date.
…torial

- Updated markdown cells in the Jupyter notebook for improved readability and consistency.
- Reformatted introductory sections to provide clearer guidance on building a semantic search engine.
- Ensured all content is beginner-friendly and accurately describes the tutorial's objectives.
…orial

- Enhanced formatting of markdown cells in the Jupyter notebook for better readability.
- Added line breaks for improved visual separation of content.
- Ensured consistency in the presentation of tutorial instructions and prerequisites.
@VirajAgarwal1 VirajAgarwal1 self-requested a review February 4, 2026 05:27
Comment thread awsbedrock/search_based/frontmatter.md Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb
@VirajAgarwal-couchbase
Copy link
Copy Markdown
Contributor

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request effectively migrates the AWS Bedrock tutorials to the new search terminology, renaming fts to search_based and gsi to query_based. The notebooks have been updated to use newer models (Nova Pro), updated dependencies, and improved terminology throughout, which enhances clarity and correctness. The frontmatter for the tutorials has also been updated accordingly. However, a potential N1QL injection vulnerability was identified in the setup_collection function of the new query_based notebook, where user-supplied identifiers are concatenated into queries without proper escaping. This could allow an attacker to execute arbitrary N1QL commands if the notebook is used with untrusted inputs. Additionally, the setup_collection function also has broad exception handling that could silently swallow important errors, making debugging difficult.

Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb
teetangh and others added 4 commits February 5, 2026 13:31
…tamps

- Revised markdown cells for improved clarity and structure in the Jupyter notebooks.
- Updated timestamps in log outputs to reflect recent execution dates.
- Enhanced descriptions of embedding creation and caching mechanisms for better understanding of the tutorial's objectives.
Co-authored-by: Viraj Agarwal <91372648+VirajAgarwal1@users.noreply.github.com>
Comment thread awsbedrock/query_based/frontmatter.md
Comment thread awsbedrock/search_based/frontmatter.md Outdated
Comment thread awsbedrock/query_based/frontmatter.md Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
Comment thread awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb Outdated
…e model and index type

- Revised short titles in frontmatter for clarity.
- Updated descriptions to replace references to the Claude language model with Nova Pro.
- Enhanced markdown content in the Jupyter notebook for improved readability and structure.
@VirajAgarwal1 VirajAgarwal1 merged commit 3d9f0b6 into main Feb 11, 2026
5 checks passed
@VirajAgarwal1 VirajAgarwal1 deleted the migrate/awsbedrock branch February 11, 2026 04:52
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.

3 participants