Skip to content

Commit

Permalink
Merge pull request #320 from isingh09/main
Browse files Browse the repository at this point in the history
updating website pages and publish yaml
  • Loading branch information
rsgrewal-aws authored Oct 7, 2024
2 parents 2051c15 + 134589e commit a894502
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 29 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish Website
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- run: pip install mkdocs-material
- run: pip install mkdocs-minify-plugin
- run: mkdocs gh-deploy --force
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags:
---
<!-- <h2>How to do function calling with the Converse API</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents/function-calling/function_calling_with_converse/function_calling_with_converse.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/function-calling/function_calling_with_converse/function_calling_with_converse.ipynb){:target="_blank"}"

<h2>Overview</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:

<!-- <h2>How to do function calling using InvokeModel API and model-specific prompting</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents/function-calling/function_calling_with_invoke/function_calling_model_specific.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/function-calling/function_calling_with_invoke/function_calling_model_specific.ipynb){:target="_blank"}"

<h2>Overview</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags:

<!-- <h2>How to work with Return of Control (ROC)</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents/function-calling/return_of_control/return_of_control.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/function-calling/return_of_control/return_of_control.ipynb){:target="_blank"}"

<h2>Overview</h2>

Expand Down
2 changes: 1 addition & 1 deletion docs/agents/function-calling/tool_binding/tool_bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:

<!-- <h2>How to work with tools bindings</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/release/v2/agents/function-calling/tool_binding/tool_bindings.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/function-calling/tool_binding/tool_bindings.ipynb){:target="_blank"}"

<h2>Overview</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
<!-- <h2>How to create your own Custom Agents</h2> -->


!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/agents/introduction-to-agents/how_to_create_custom_agents.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/introduction-to-agents/how_to_create_custom_agents.ipynb){:target="_blank"}"


<h2>Overview</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
<!-- <h2>How to create your Multi Agent System with Custom Agents</h2> -->


!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/agents/introduction-to-agents/how_to_create_multi_agents_from_custom_agents.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/agents-and-function-calling/introduction-to-agents/how_to_create_multi_agents_from_custom_agents.ipynb){:target="_blank"}"


<h2>Overview</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags:
---
<!-- <h2> How to work with Converse API in Amazon Bedrock - Getting Started. </h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/tree/main/introduction-to-bedrock/bedrock_apis/01_converse_api.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/introduction-to-bedrock/converse_api/01_converse_api.ipynb){:target="_blank"}"

<h2> Overview </h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:

<!-- <h2>RAG chatbot using Amazon Bedrock and LangChain</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-sorce/chatbots/qa_chatbot_langchain_bedrock.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-source/chatbots/qa_chatbot_langchain_bedrock.ipynb){:target="_blank"}"

<h2>Overview</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tags:

<!-- <h2>Chunking strategies for RAG applications</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-sorce/chunking/qrag_chunking_strategies_langchain_bedrock.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-source/chunking/rag_chunking_strategies_langchain_bedrock.ipynb){:target="_blank"}"

**A quick Recap of RAG**

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<style>
.md-typeset h1,
.md-content__button {
display: none;
}
</style>
---
tags:
- RAG/ Data-Ingestion
---


<h2>How to create index and ingest documents in Amazon Bedrock Knowledge Base</h2>
<!-- <h2>How to create index and ingest documents in Amazon Bedrock Knowledge Base</h2> -->


!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/rag/open-source/knowledge-base-with-opensource/0_how_to_create_index_and_ingest_documents_in_knowledge_base.ipynb){:target="_blank"}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tags:
<h2> Build RAG solution with LangChain and Amazon Bedrock using OpenSearch Serverless</h2> -->

!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-sorce/vector_stores/rag_langchain_bedrock_opensearch.ipynb){:target="_blank"}"
!!! tip inline end "[Open in github](https://github.com/aws-samples/amazon-bedrock-samples/blob/main/rag/open-source/vector_stores/rag_langchain_bedrock_opensearch.ipynb){:target="_blank"}"

This notebook provides sample code for building a RAG solution using LangChain and Amazon Bedrock using OpenSearch Serverless.

Expand Down
19 changes: 8 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,17 @@ nav:
- Converse API Example: './introduction-to-bedrock/converse_api/01_converse_api.md'
- Agents:
- Create Agent Examples:
- How to create an Agent: './agents-and-function-calling/introduction-to-agents-and-function-calling/how_to_create_custom_agents.md'
- How to create an Agent: './agents/introduction-to-agents/how_to_create_custom_agents.md'
- Multi Agent:
- Multi Agent Orchestration: './agents-and-function-calling/introduction-to-agents-and-function-calling/how_to_create_multi_agents_from_custom_agents.md'
- Multi Agent Orchestration: './agents/introduction-to-agents/how_to_create_multi_agents_from_custom_agents.md'
- Function Calling:
- Function Calling with Converse: './agents-and-function-calling/function-calling/function_calling_with_converse/function_calling_with_converse.md'
- Function Calling with Invoke: './agents-and-function-calling/function-calling/function_calling_with_invoke/function_calling_model_with_invoke.md'
- Return of Control: './agents-and-function-calling/function-calling/return_of_control/return_of_control.md'
- Tool Binding: './agents-and-function-calling/function-calling/tool_binding/tool_bindings.md'
- Function Calling with Converse: './agents/function-calling/function_calling_with_converse/function_calling_with_converse.md'
- Function Calling with Invoke: './agents/function-calling//function_calling_with_invoke/function_calling_model_with_invoke.md'
- Return of Control: './agents/function-calling/return_of_control/return_of_control.md'
- Tool Binding: './agents/function-calling/tool_binding/tool_bindings.md'
- RAG:
# - Knowledge Bases: './agents-and-function-calling/function-calling/function_calling_with_converse/function_calling_with_converse.md'
# - Knowledge Bases:
# - OpenSearch Data Ingestion: './rag/open-source/knowledge-base-with-opensource/0_how_to_create_index_and_ingest_documents_in_knowledge_base.md'
- Open Source:
- Chatbot using Langchain: './rag/open-source/chatbots/qa_chatbot_langchain_bedrock.md'
- Chunking strategies for RAG applications: './rag/open-source/chunking/rag_chunking_strategies_langchain_bedrock.md'
Expand All @@ -137,12 +138,8 @@ nav:
- Text Translation with Converse: './genai-use-cases/text-generation/how_to_work_with_text_translation_w_bedrock.md'
- Text summarization with Converse: './genai-use-cases/text-generation/how_to_work_with_text-summarization-titan+claude.md'
- Generate Bulk Emails with Batch Inference: './genai-use-cases/text-generation/how_to_work_with_batch_example_for_multi_threaded_invocation.md'
# - Agents: 'general/license.md'
# - KB: 'general/license.md'
# - End-to-end examples: 'general/license.md'
# - Governance: 'general/license.md'
# - Observability: 'general/license.md'
# - Data access control: 'general/license.md'
# - Applications examples: 'general/license.md'
- Tags: 'general/tags.md'
- License: 'general/license.md'

0 comments on commit a894502

Please sign in to comment.