Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws-samples/sample-devgenius-aws-solution-builder
/ functions
Functions
60 in github.com/aws-samples/sample-devgenius-aws-solution-builder
⨍
Functions
60
◇
Types & classes
4
↳
Endpoints
2
↓ 21 callers
Function
retrieve_environment_variables
(key)
chatbot/utils.py:217
↓ 8 callers
Function
save_conversation
(conversation_id, prompt, response)
chatbot/utils.py:229
↓ 6 callers
Function
invoke_bedrock_model_streaming
(messages, enable_reasoning=False, reasoning_budget=4096)
chatbot/utils.py:52
↓ 5 callers
Function
collect_feedback
(uuid, response, use_case, bedrock_model_name)
chatbot/utils.py:184
↓ 5 callers
Function
store_in_s3
(content, content_type)
chatbot/utils.py:274
↓ 5 callers
Function
upload_to_s3
(file_content, filename, bucket_name)
chatbot/upload.py:103
↓ 2 callers
Function
create_option_tabs
Create and return the Streamlit tabs for the various options supported by DevGenius.
chatbot/layout.py:151
↓ 2 callers
Function
enable_artifacts_download
()
chatbot/utils.py:321
↓ 2 callers
Function
generate_arch
(arch_messages)
chatbot/generate_arch_widget.py:14
↓ 2 callers
Function
generate_cdk
(cdk_messages)
chatbot/generate_cdk_widget.py:12
↓ 2 callers
Function
generate_cfn
(cfn_messages)
chatbot/generate_cfn_widget.py:25
↓ 2 callers
Function
generate_cost_estimates
(cost_messages)
chatbot/cost_estimate_widget.py:13
↓ 2 callers
Function
generate_doc
(doc_messages)
chatbot/generate_doc_widget.py:12
↓ 2 callers
Function
invoke_bedrock_agent
( session_id, query, bedrock_agent='solution', enable_trace=True, end_session=False)
chatbot/utils.py:36
↓ 2 callers
Function
read_agent_response
(event_stream)
chatbot/utils.py:128
↓ 1 callers
Method
addOutputs
()
lib/index.ts:917
↓ 1 callers
Method
addTags
()
lib/index.ts:912
↓ 1 callers
Function
apply_custom_styles
Apply custom CSS to the Streamlit app.
chatbot/styles.py:122
↓ 1 callers
Function
apply_styles
Apply custom CSS to the Streamlit app.
chatbot/styles.py:4
↓ 1 callers
Function
continuation_prompt
(architecture_prompt, prev_response)
chatbot/utils.py:112
↓ 1 callers
Function
convert_xml_to_html
(xml_string)
chatbot/utils.py:162
↓ 1 callers
Function
create_artifacts_zip
(object_name)
chatbot/utils.py:284
↓ 1 callers
Function
create_aws_auth
Creates an AWS4Auth instance for authenticating requests to AWS services. This function generates authentication credentials required for AW
lib/lambda/oss_index.py:18
↓ 1 callers
Function
create_opensearch_client
Creates an OpenSearch client for AWS OpenSearch Service/Serverless. Establishes a secure connection to an OpenSearch endpoint using AWS auth
lib/lambda/oss_index.py:51
↓ 1 callers
Function
create_tabs
Create and return the Streamlit tabs.
chatbot/layout.py:144
↓ 1 callers
Function
display_image
(image, width=600, caption="Uploaded Image", use_center=True)
chatbot/agent.py:45
↓ 1 callers
Method
extract
Extract text content from the PowerPoint slides and format them. Returns: - str: Formatted text containing the extracted con
chatbot/upload.py:37
↓ 1 callers
Function
format_for_markdown
(response_text)
chatbot/agent.py:131
↓ 1 callers
Function
getSecretsInternal
lib/edge-lambda/secretsManager.js:15
↓ 1 callers
Function
get_image_insights
(image_data, query="Explain in detail the architecture flow")
chatbot/agent.py:65
↓ 1 callers
Function
get_initial_question
(topic)
chatbot/agent.py:135
↓ 1 callers
Function
login_page
()
chatbot/layout.py:5
↓ 1 callers
Function
on_create
()
lib/lambda/prefix_list.py:17
↓ 1 callers
Function
on_others
()
lib/lambda/prefix_list.py:31
↓ 1 callers
Function
prompts_to_messages
(prompts)
chatbot/utils.py:152
↓ 1 callers
Function
reset_messages
()
chatbot/agent.py:116
↓ 1 callers
Function
resize_or_compress_image
(uploaded_image)
chatbot/agent.py:143
↓ 1 callers
Function
save_session
(conversation_id, name, email)
chatbot/utils.py:244
↓ 1 callers
Function
split_pdf
(pdf_content)
chatbot/upload.py:77
↓ 1 callers
Function
welcome_sidebar
()
chatbot/layout.py:89
Method
__init__
(self)
chatbot/dynamodb.py:9
Method
__init__
Initialize PPTExtraction class with the provided file path. Args: - file_path (str): Path to the PowerPoint file.
chatbot/upload.py:24
Method
constructor
(scope: Construct, id: string, props: cdk.StackProps)
lib/index.ts:104
Function
create
CloudFormation custom resource handler to create an OpenSearch index. Creates a new OpenSearch index with vector search capabilities for use
lib/lambda/oss_index.py:136
Function
create
(event, context)
lib/lambda/kb_ds.py:16
Function
delete
(event, context)
lib/lambda/oss_index.py:228
Function
delete
(event, context)
lib/lambda/kb_ds.py:61
Function
getSecrets
()
lib/edge-lambda/secretsManager.js:9
Function
handler
(event, context)
lib/lambda/oss_index.py:232
Function
handler
(event, context)
lib/lambda/kb_ds.py:71
Function
lambda_handler
(event, context)
lib/lambda/prefix_list.py:8
Function
reset_chat
()
chatbot/agent.py:104
Function
retrieve_cognito_details
(key)
chatbot/utils.py:222
Method
save_conversation
(self, conversation_id, prompt, response, user_id='', user_name='')
chatbot/dynamodb.py:28
Method
save_session
(self, conversation_id, name, email)
chatbot/dynamodb.py:18
Function
update
(event, context)
lib/lambda/oss_index.py:223
Function
update
(event, context)
lib/lambda/kb_ds.py:56
Function
update_session
(conversation_id, presigned_url)
chatbot/utils.py:256
Method
update_session
(self, conversation_id, presigned_url)
chatbot/dynamodb.py:41
Function
upload_file
()
chatbot/upload.py:116