MCPcopy Create free account

hub / github.com/aws-samples/sample-devgenius-aws-solution-builder / functions

Functions60 in github.com/aws-samples/sample-devgenius-aws-solution-builder

↓ 21 callersFunctionretrieve_environment_variables
(key)
chatbot/utils.py:217
↓ 8 callersFunctionsave_conversation
(conversation_id, prompt, response)
chatbot/utils.py:229
↓ 6 callersFunctioninvoke_bedrock_model_streaming
(messages, enable_reasoning=False, reasoning_budget=4096)
chatbot/utils.py:52
↓ 5 callersFunctioncollect_feedback
(uuid, response, use_case, bedrock_model_name)
chatbot/utils.py:184
↓ 5 callersFunctionstore_in_s3
(content, content_type)
chatbot/utils.py:274
↓ 5 callersFunctionupload_to_s3
(file_content, filename, bucket_name)
chatbot/upload.py:103
↓ 2 callersFunctioncreate_option_tabs
Create and return the Streamlit tabs for the various options supported by DevGenius.
chatbot/layout.py:151
↓ 2 callersFunctionenable_artifacts_download
()
chatbot/utils.py:321
↓ 2 callersFunctiongenerate_arch
(arch_messages)
chatbot/generate_arch_widget.py:14
↓ 2 callersFunctiongenerate_cdk
(cdk_messages)
chatbot/generate_cdk_widget.py:12
↓ 2 callersFunctiongenerate_cfn
(cfn_messages)
chatbot/generate_cfn_widget.py:25
↓ 2 callersFunctiongenerate_cost_estimates
(cost_messages)
chatbot/cost_estimate_widget.py:13
↓ 2 callersFunctiongenerate_doc
(doc_messages)
chatbot/generate_doc_widget.py:12
↓ 2 callersFunctioninvoke_bedrock_agent
( session_id, query, bedrock_agent='solution', enable_trace=True, end_session=False)
chatbot/utils.py:36
↓ 2 callersFunctionread_agent_response
(event_stream)
chatbot/utils.py:128
↓ 1 callersMethodaddOutputs
()
lib/index.ts:917
↓ 1 callersMethodaddTags
()
lib/index.ts:912
↓ 1 callersFunctionapply_custom_styles
Apply custom CSS to the Streamlit app.
chatbot/styles.py:122
↓ 1 callersFunctionapply_styles
Apply custom CSS to the Streamlit app.
chatbot/styles.py:4
↓ 1 callersFunctioncontinuation_prompt
(architecture_prompt, prev_response)
chatbot/utils.py:112
↓ 1 callersFunctionconvert_xml_to_html
(xml_string)
chatbot/utils.py:162
↓ 1 callersFunctioncreate_artifacts_zip
(object_name)
chatbot/utils.py:284
↓ 1 callersFunctioncreate_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 callersFunctioncreate_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 callersFunctioncreate_tabs
Create and return the Streamlit tabs.
chatbot/layout.py:144
↓ 1 callersFunctiondisplay_image
(image, width=600, caption="Uploaded Image", use_center=True)
chatbot/agent.py:45
↓ 1 callersMethodextract
Extract text content from the PowerPoint slides and format them. Returns: - str: Formatted text containing the extracted con
chatbot/upload.py:37
↓ 1 callersFunctionformat_for_markdown
(response_text)
chatbot/agent.py:131
↓ 1 callersFunctiongetSecretsInternal
lib/edge-lambda/secretsManager.js:15
↓ 1 callersFunctionget_image_insights
(image_data, query="Explain in detail the architecture flow")
chatbot/agent.py:65
↓ 1 callersFunctionget_initial_question
(topic)
chatbot/agent.py:135
↓ 1 callersFunctionlogin_page
()
chatbot/layout.py:5
↓ 1 callersFunctionon_create
()
lib/lambda/prefix_list.py:17
↓ 1 callersFunctionon_others
()
lib/lambda/prefix_list.py:31
↓ 1 callersFunctionprompts_to_messages
(prompts)
chatbot/utils.py:152
↓ 1 callersFunctionreset_messages
()
chatbot/agent.py:116
↓ 1 callersFunctionresize_or_compress_image
(uploaded_image)
chatbot/agent.py:143
↓ 1 callersFunctionsave_session
(conversation_id, name, email)
chatbot/utils.py:244
↓ 1 callersFunctionsplit_pdf
(pdf_content)
chatbot/upload.py:77
↓ 1 callersFunctionwelcome_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
Methodconstructor
(scope: Construct, id: string, props: cdk.StackProps)
lib/index.ts:104
Functioncreate
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
Functioncreate
(event, context)
lib/lambda/kb_ds.py:16
Functiondelete
(event, context)
lib/lambda/oss_index.py:228
Functiondelete
(event, context)
lib/lambda/kb_ds.py:61
FunctiongetSecrets
()
lib/edge-lambda/secretsManager.js:9
Functionhandler
(event, context)
lib/lambda/oss_index.py:232
Functionhandler
(event, context)
lib/lambda/kb_ds.py:71
Functionlambda_handler
(event, context)
lib/lambda/prefix_list.py:8
Functionreset_chat
()
chatbot/agent.py:104
Functionretrieve_cognito_details
(key)
chatbot/utils.py:222
Methodsave_conversation
(self, conversation_id, prompt, response, user_id='', user_name='')
chatbot/dynamodb.py:28
Methodsave_session
(self, conversation_id, name, email)
chatbot/dynamodb.py:18
Functionupdate
(event, context)
lib/lambda/oss_index.py:223
Functionupdate
(event, context)
lib/lambda/kb_ds.py:56
Functionupdate_session
(conversation_id, presigned_url)
chatbot/utils.py:256
Methodupdate_session
(self, conversation_id, presigned_url)
chatbot/dynamodb.py:41
Functionupload_file
()
chatbot/upload.py:116