-
Notifications
You must be signed in to change notification settings - Fork 12
Migrate awsbedrock to new search terminology #91
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6f8b957
Migrate awsbedrock from fts/gsi to search_based/query_based terminology
teetangh 4409902
Update tutorial content and frontmatter for RAG with Couchbase and Am…
teetangh c311ff0
Fix GSI terminology: replace GSI references with query-based/Hypersca…
teetangh 774e350
Fix frontmatter titles to under 72 chars and fix 'this this' typo
teetangh 7c170c5
Enhance formatting and structure in RAG with Couchbase and Bedrock tu…
teetangh 670a672
Refactor markdown cells for improved clarity and structure in RAG tut…
teetangh 311c408
Update RAG tutorials with enhanced markdown clarity and updated times…
teetangh 01e024e
Merge branch 'main' into migrate/awsbedrock
teetangh b7be282
Update awsbedrock/search_based/frontmatter.md
teetangh 72e1725
reran the tutorial after deleting the existing index
teetangh 3b7c8e1
Update tutorial frontmatter and content to reflect changes in languag…
teetangh 7b3a726
Merge remote-tracking branch 'origin/main' into migrate/awsbedrock
teetangh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
1,077 changes: 0 additions & 1,077 deletions
1,077
awsbedrock/gsi/RAG_with_Couchbase_and_Bedrock.ipynb
This file was deleted.
Oops, something went wrong.
File renamed without changes.
1,184 changes: 1,184 additions & 0 deletions
1,184
awsbedrock/query_based/RAG_with_Couchbase_and_Bedrock.ipynb
|
teetangh marked this conversation as resolved.
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| # frontmatter | ||
| path: "/tutorial-aws-bedrock-couchbase-rag-with-hyperscale-or-composite-vector-index" | ||
| title: RAG with Bedrock using Couchbase Hyperscale and Composite Vector Index | ||
| short_title: Amazon Bedrock RAG with Hyperscale/Composite Index | ||
| description: | ||
| - Learn how to build a semantic search engine using Couchbase and Amazon Bedrock using Hyperscale and Composite Vector Index. | ||
| - This tutorial demonstrates how to integrate Couchbase's vector search capabilities with Amazon Bedrock's Titan embeddings and Nova Pro language model. | ||
| - You'll understand how to perform Retrieval-Augmented Generation (RAG) using LangChain and Couchbase. | ||
|
teetangh marked this conversation as resolved.
|
||
| content_type: tutorial | ||
| filter: sdk | ||
| technology: | ||
| - vector search | ||
| tags: | ||
| - Hyperscale Vector Index | ||
| - Composite Vector Index | ||
| - Artificial Intelligence | ||
| - LangChain | ||
| - Amazon Bedrock | ||
| sdk_language: | ||
| - python | ||
| length: 60 Mins | ||
| alt_paths: ["/tutorial-aws-bedrock-couchbase-rag-with-hyperscale-vector-index", "/tutorial-aws-bedrock-couchbase-rag-with-composite-vector-index"] | ||
| --- | ||
File renamed without changes.
250 changes: 116 additions & 134 deletions
250
.../fts/RAG_with_Couchbase_and_Bedrock.ipynb → ...ased/RAG_with_Couchbase_and_Bedrock.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| { | ||
| "type": "fulltext-index", | ||
| "name": "vector_search_bedrock", | ||
| "uuid": "", | ||
| "sourceType": "gocbcore", | ||
| "sourceName": "vector-search-testing", | ||
| "planParams": { | ||
| "maxPartitionsPerPIndex": 64, | ||
| "indexPartitions": 16 | ||
| }, | ||
| "params": { | ||
| "doc_config": { | ||
| "docid_prefix_delim": "", | ||
| "docid_regexp": "", | ||
| "mode": "scope.collection.type_field", | ||
| "type_field": "type" | ||
| }, | ||
| "mapping": { | ||
| "analysis": {}, | ||
| "default_analyzer": "standard", | ||
| "default_datetime_parser": "dateTimeOptional", | ||
| "default_field": "_all", | ||
| "default_mapping": { | ||
| "dynamic": true, | ||
| "enabled": false | ||
| }, | ||
| "default_type": "_default", | ||
| "docvalues_dynamic": false, | ||
| "index_dynamic": true, | ||
| "store_dynamic": false, | ||
| "type_field": "_type", | ||
| "types": { | ||
| "shared.bedrock": { | ||
| "dynamic": true, | ||
| "enabled": true, | ||
| "properties": { | ||
| "embedding": { | ||
| "dynamic": false, | ||
| "enabled": true, | ||
| "fields": [ | ||
| { | ||
| "dims": 1024, | ||
| "index": true, | ||
| "name": "embedding", | ||
| "similarity": "dot_product", | ||
| "type": "vector", | ||
| "vector_index_optimized_for": "recall" | ||
| } | ||
| ] | ||
| }, | ||
| "text": { | ||
| "dynamic": false, | ||
| "enabled": true, | ||
| "fields": [ | ||
| { | ||
| "index": true, | ||
| "name": "text", | ||
| "store": true, | ||
| "type": "text" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "store": { | ||
| "indexType": "scorch", | ||
| "segmentVersion": 16 | ||
| } | ||
| }, | ||
| "sourceParams": {} | ||
| } |
12 changes: 6 additions & 6 deletions
12
awsbedrock/gsi/frontmatter.md → awsbedrock/search_based/frontmatter.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.