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

Feature: Add Amazon Bedrock Agents support #554

Open
wants to merge 96 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f6f8853
feat: appsync
massi-ang Dec 5, 2023
8a62b43
feat(appsync): API
massi-ang Dec 11, 2023
988c57f
feat(appsync): api
massi-ang Dec 12, 2023
67224b6
feat(appsync): poetry env
massi-ang Dec 12, 2023
facc201
feat(appsync): ongoing checkpoint
massi-ang Dec 13, 2023
91d1930
feat(appsync): checkpoint
massi-ang Dec 13, 2023
d11b1d1
feat(appsync): final with removal of ApiGw
massi-ang Dec 13, 2023
569072a
feat(appsync): working GraphQL
massi-ang Dec 14, 2023
9440095
feat(appsync): CF configuration
massi-ang Dec 14, 2023
e195072
feat(appsync): removal of CF in front of AppSync
massi-ang Dec 14, 2023
924fd09
feat(appsync): using AOI for CF
massi-ang Dec 14, 2023
807b20b
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Dec 14, 2023
031935d
feat(appsync): fix Delete session
massi-ang Dec 14, 2023
495c5a4
feat(appsync) : delete session result
massi-ang Dec 14, 2023
3ad9ebb
feat(appsync): moving handler function
massi-ang Dec 15, 2023
c015f39
feat(appsync): json decoder
massi-ang Dec 15, 2023
514f125
feat(appsync): cleanup
massi-ang Dec 15, 2023
b475fa3
feat(appsync): exclude autogenerated file from prettier linting
massi-ang Dec 15, 2023
badc9ac
feat(appsync): remove unused imports
massi-ang Dec 15, 2023
11e8de7
feat(appsync): remove unused imports
massi-ang Dec 15, 2023
384c3fb
feat(appsync): fix appsync merge errors
massi-ang Dec 15, 2023
c883541
feat(appsync): fixed semantic_search method based on graphql signature
massi-ang Dec 17, 2023
c3634e7
fix(appsync): correct logic for adding form fields to POST
massi-ang Dec 17, 2023
c4604d2
fix(appsync): merged api stability and cleanup
massi-ang Dec 19, 2023
9272cae
feat(appsync): schema improvements
massi-ang Dec 19, 2023
5e97f59
fix(appsync): reverting changes
massi-ang Dec 19, 2023
dcd665f
feat(appsync): single api
massi-ang Dec 19, 2023
433a647
fix(appsync): remove double resolver creation
massi-ang Dec 20, 2023
0ace107
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Dec 20, 2023
8c8694c
feat(agents): init
massi-ang Jan 8, 2024
e97cbcb
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Jan 8, 2024
8d16318
fix(appsync): start kendra data sync
massi-ang Jan 8, 2024
1128fb5
fix(appsync): correct field type
massi-ang Jan 8, 2024
da7dc3e
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Jan 10, 2024
13f568c
doc(appsync): update READMEs and diagrams
massi-ang Jan 10, 2024
c2e1c05
fix(appsync): correct subnet filtering
massi-ang Jan 10, 2024
1112a10
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Jan 10, 2024
29b66ad
Merge branch 'feat_appsync' into feat_bedrock_agents
massi-ang Jan 15, 2024
3c6ee87
feat(agents): wip
massi-ang Jan 15, 2024
486c311
feat(appsync): cleanup legacy apigw functionality
massi-ang Jan 15, 2024
ccf99cb
Merge branch 'feat_appsync' into feat_bedrock_agents
massi-ang Jan 15, 2024
33293a2
feat(agents): working poc
massi-ang Jan 15, 2024
775f735
feat(agents): group by provider and interface type
massi-ang Jan 15, 2024
aa9fcb9
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Jan 16, 2024
06f5cad
feat(agents): fix for the option groups
massi-ang Jan 23, 2024
f2ad37e
Merge branch 'main' into feat_bedrock_agents
massi-ang Jan 24, 2024
0c5d12e
feat(agents): refactoring of model IF constructs
massi-ang Jan 31, 2024
ba132fd
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Jan 31, 2024
8666b35
Merge branch 'main' into feat_bedrock_agents
massi-ang Feb 12, 2024
3a9a841
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Feb 12, 2024
df4dff2
feat(agents): added agent creation
massi-ang Feb 13, 2024
74bdf05
Merge branch 'main' of https://github.com/aws-samples/aws-genai-llm-c…
massi-ang Feb 19, 2024
e69386a
feat(agents): new backend API
massi-ang Feb 28, 2024
2894f95
feat(chat_ui): initial
massi-ang Feb 28, 2024
20414f1
feat(chat_ui): onFeedback and Avatar update
massi-ang Feb 28, 2024
83e3e9a
feat(chat_ui): refactor
massi-ang Feb 28, 2024
0d92e9f
feat(chat_ui): adding images as avatars
massi-ang Feb 28, 2024
4f4a9ff
feat(new_ui): refactor component API
massi-ang Feb 29, 2024
c080caa
feat(message_api): moving to message API for Claude models
massi-ang Mar 5, 2024
c9f20a4
feat(message_api): only yield on relevant chunks
massi-ang Mar 5, 2024
73b3317
fix(chat): fixing chat for streamed content
massi-ang Mar 5, 2024
53033d4
fix(chat): only send messages when token length > 0
massi-ang Mar 5, 2024
8c62424
fix(cleanup): remove unused code
massi-ang Mar 5, 2024
c7d9984
fix(streaming): fixing issues with streamed responses
massi-ang Mar 5, 2024
1426f59
fix(ui): replaced react-icons with cloudscape icons
massi-ang Mar 5, 2024
5c82d03
Merge branch 'main' into feat_bedrock_agents
massi-ang Mar 5, 2024
41214f3
Merge branch 'feat_message_api' into feat_bedrock_agents
massi-ang Mar 5, 2024
3e098eb
Merge branch 'feat_new_chat_ui' into feat_bedrock_agents
massi-ang Mar 5, 2024
be5baea
feat(agent): new UI and agent functionality
massi-ang Mar 5, 2024
246a5aa
fix: make the prop mandatory
massi-ang Mar 5, 2024
56233f2
Merge remote-tracking branch 'origin/main' into feat_bedrock_agents
massi-ang Mar 15, 2024
63bc6f5
fix(agents): correct generic type
massi-ang Mar 15, 2024
dc6a3e4
feat(agents): keep first letter as avatar
massi-ang Mar 15, 2024
2f75db8
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot i…
massi-ang Apr 26, 2024
09a09b3
feat(agents): types
massi-ang Apr 26, 2024
1d0f22a
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot i…
massi-ang May 14, 2024
5efc171
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot i…
massi-ang Jun 13, 2024
5d2eed3
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot
massi-ang Aug 12, 2024
9bf5e43
Merge branch 'main' into feat_bedrock_agents
massi-ang Aug 12, 2024
206f84b
chore: updated chat UI components to Cloudscape components
massi-ang Aug 12, 2024
287940d
fix: loading feedback and removed double handler
massi-ang Aug 12, 2024
674093d
fix: clean up and fix styles
massi-ang Aug 12, 2024
5ce94b5
fix: removed feedback buttons from "human" message
massi-ang Aug 12, 2024
fbb6159
fix: fix errors from ci pipeline
massi-ang Aug 12, 2024
8907882
fix: fix ci errors
massi-ang Aug 12, 2024
e9b49d7
fix: eslint issues
massi-ang Aug 12, 2024
c8afae0
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot i…
massi-ang Aug 19, 2024
fa18001
test: updated snapshot
massi-ang Aug 19, 2024
6479bc0
test: Update cfn snapshot
charles-marion Aug 20, 2024
cb25874
Merge branch 'feat_bedrock_agents' of github.com:aws-samples/aws-gena…
massi-ang Aug 20, 2024
d3bac06
fix: linting errors
massi-ang Aug 20, 2024
d9bab73
Merge branch 'main' of github.com:aws-samples/aws-genai-llm-chatbot i…
massi-ang Aug 21, 2024
5d10c8d
chore: remove unnecessary files
massi-ang Aug 21, 2024
0edeb63
chore: remove unnecessary file
massi-ang Aug 21, 2024
3e09b8c
fix: double entry
massi-ang Aug 21, 2024
a1c44fd
chore: address review comments - first run
massi-ang Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(agents): types
  • Loading branch information
massi-ang committed Apr 26, 2024
commit 09a09b341625d1b87ab48e7fcd85c11181970482
Original file line number Diff line number Diff line change
@@ -152,23 +152,22 @@ export default function ChatMessage(props: ChatMessageProps) {
<Tabs
tabs={(
props.message.metadata.documents as RagDocument[]
).map((p: any, i) => {
).map((p: RagDocument, i) => {
return {
id: `${i}`,
label: p.metadata.path?.split("/").at(-1) ??
p.metadata.title ??
p.metadata.document_id.slice(-8),
label:
p.metadata.path?.split("/").at(-1) ??
p.metadata.title ??
p.metadata.document_id.slice(-8),
content: (
<>
<Textarea
value={p.page_content}
readOnly={true}
rows={8}
/>
),
};
}
)}
<Textarea
value={p.page_content}
readOnly={true}
rows={8}
/>
),
};
})}
activeTabId={documentIndex}
onChange={({ detail }) =>
setDocumentIndex(detail.activeTabId)
Loading
Oops, something went wrong.