MCPcopy Create free account

hub / github.com/aws-samples/generative-bi-using-rag / functions

Functions944 in github.com/aws-samples/generative-bi-using-rag

↓ 1 callersMethodget_secrets_manager_name
Generate a random Secrets Manager name
application/nlq/data_access/dynamo_connection.py:50
↓ 1 callersMethodget_table_definition_by_connection
(cls, connection: ConnectConfigEntity, schemas, table_names)
application/nlq/data_access/database.py:134
↓ 1 callersFunctionget_table_name_by_config
(_conn_config, schema_names, default_values)
application/pages/3_🪙_Data_Profile_Management.py:43
↓ 1 callersFunctionget_user_history
get user history for selected profile :param selected_profile: :return: history for selected profile list type
application/pages/1_🌍_Generative_BI_Playground.py:67
↓ 1 callersMethodget_username
(self)
application/nlq/business/login_user.py:7
↓ 1 callersFunctionh
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodhandle_add_to_log
(self, log_id)
application/nlq/core/state_machine.py:641
↓ 1 callersMethodhide
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodhide
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodimage
(e,t,n)
application/static/components/marked.min.js:6
↓ 1 callersFunctionindex_of_db_type
(db_type)
application/pages/2_🪙_Data_Connection_Management.py:26
↓ 1 callersFunctionindex_to_opensearch
()
application/opensearch_deploy.py:21
↓ 1 callersFunctioninitSession
()
report-front-end/src/app.tsx:87
↓ 1 callersMethodinlineText
(e)
application/static/components/marked.min.js:6
↓ 1 callersFunctioninvoke_llama_70b
Invoke LLama-70B model :param model_id: :param system_prompt: :param messages: :param max_tokens: :param with_response_stream
application/utils/llm.py:74
↓ 1 callersFunctioninvoke_mixtral_8x7b
Invokes the Mixtral 8c7B model to run an inference using the input provided in the request body. :param prompt: The prompt that you want
application/utils/llm.py:112
↓ 1 callersFunctioninvoke_model_claude3
(model_id, system_prompt, messages, max_tokens, with_response_stream=False)
application/utils/llm.py:54
↓ 1 callersFunctionitemLinkCb
()
application/static/components/JsonViewer/json-viewer.js:133
↓ 1 callersFunctionknowledge_search
(model_id, search_box, prompt_map)
application/utils/llm.py:322
↓ 1 callersMethodlex
(e,t)
application/static/components/marked.min.js:6
↓ 1 callersMethodlheading
(e)
application/static/components/marked.min.js:6
↓ 1 callersMethodlistitem
(e,t,n)
application/static/components/marked.min.js:6
↓ 1 callersFunctionlogout
()
application/utils/navigation.py:61
↓ 1 callersFunctionmain
()
application/pages/7_📚_Entity_Management.py:124
↓ 1 callersFunctionmain
()
application/pages/10_📚_User_Authorization.py:44
↓ 1 callersFunctionmain
()
application/pages/5_🪙_Prompt_Management.py:11
↓ 1 callersFunctionmain
()
application/pages/9_🪙_SageMaker_Model_Management.py:67
↓ 1 callersFunctionmain
()
application/pages/2_🪙_Data_Connection_Management.py:49
↓ 1 callersFunctionmain
()
application/pages/8_📚_Agent_Cot_Management.py:45
↓ 1 callersFunctionmain
()
application/pages/6_📚_Index_Management.py:279
↓ 1 callersFunctionmain
()
application/pages/4_🪙_Schema_Description_Management.py:9
↓ 1 callersFunctionmain
()
application/pages/1_🌍_Generative_BI_Playground.py:143
↓ 1 callersFunctionmain
()
application/pages/3_🪙_Data_Profile_Management.py:61
↓ 1 callersFunctionme
(t,e)
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersFunctionmodel_connect
(sagemaker_name, sagemaker_region, prompt_template, input_payload, output_format)
application/pages/9_🪙_SageMaker_Model_Management.py:20
↓ 1 callersMethodnextWhenVisible
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersFunctionp
(e)
application/static/components/marked.min.js:6
↓ 1 callersMethodpost_sql_generation
Method to post-process SQL after generation
application/nlq/business/datasource/base.py:128
↓ 1 callersFunctionqa_retrieve_search
(search_box, opensearch_info, selected_profile)
application/utils/text_search.py:25
↓ 1 callersFunctionquery_from_sql_pd
Query the database
application/utils/apis.py:51
↓ 1 callersFunctionread_file
read upload csv file :param uploaded_file: :return:
application/pages/6_📚_Index_Management.py:257
↓ 1 callersFunctionrecurrent_display
(messages, i)
application/pages/1_🌍_Generative_BI_Playground.py:122
↓ 1 callersMethodreflink
(e,t)
application/static/components/marked.min.js:6
↓ 1 callersMethodrefresh
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodretrieve_agent_cot_samples
(self, index_name, profile_name)
application/nlq/data_access/opensearch.py:111
↓ 1 callersMethodretrieve_entity_samples
(self, index_name, profile_name)
application/nlq/data_access/opensearch.py:71
↓ 1 callersFunctionretrieve_results_from_opensearch
(index_name, region_name, domain, opensearch_user, opensearch_password, q
application/utils/opensearch.py:234
↓ 1 callersMethodretrieve_samples
(self, index_name, profile_name)
application/nlq/data_access/opensearch.py:30
↓ 1 callersMethodrow_level_security_mode
Abstract method to get the row-level security mode
application/nlq/business/datasource/base.py:27
↓ 1 callersFunctionrt
(e,t,n)
application/static/components/jquery-3.7.1.min.js:2
↓ 1 callersMethodsearch_same_dimension_entity
(cls, profile_name, top_k, index_name, embedding)
application/nlq/business/vector_store.py:219
↓ 1 callersMethodsearch_sample_with_embedding
(self, profile_name, top_k, index_name, query_embedding)
application/nlq/data_access/opensearch.py:213
↓ 1 callersFunctionselect_all_in_view_tab
(user_id)
application/pages/10_📚_User_Authorization.py:24
↓ 1 callersFunctionselect_data_visualization_type
(model_id, search_box, search_data, prompt_map)
application/utils/llm.py:330
↓ 1 callersMethodsetOptions
(e)
application/static/components/marked.min.js:6
↓ 1 callersMethodshow
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodshow
(t)
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodshow
(t)
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodspace
(e)
application/static/components/marked.min.js:6
↓ 1 callersMethodstrong
(e)
application/static/components/marked.min.js:6
↓ 1 callersMethodsupport_row_level_security
Abstract method to check if row-level security is supported
application/nlq/business/datasource/base.py:22
↓ 1 callersMethodtag
(e)
application/static/components/marked.min.js:6
↓ 1 callersFunctiontest_all_sample
(selected_profile, model_type)
application/pages/6_📚_Index_Management.py:19
↓ 1 callersMethodtest_connection
(cls, db_type, user, password, host, port, db_name)
application/nlq/data_access/database.py:61
↓ 1 callersMethodtoHtml
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodto_dict
Convert to DynamoDB item format
application/nlq/data_access/opensearch_query_log.py:27
↓ 1 callersMethodto_dict
Convert to DynamoDB item format
application/nlq/data_access/dynamo_connection.py:35
↓ 1 callersMethodto_dict
Convert to DynamoDB item format
application/nlq/data_access/dynamo_suggested_question.py:19
↓ 1 callersMethodtoggle
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodupdate
()
application/static/components/bootstrap/bootstrap.min.js:6
↓ 1 callersMethodupdate
(self, entity)
application/nlq/data_access/dynamo_connection.py:197
↓ 1 callersMethodupdate_connection
(cls, conn_name, db_type, db_host, db_port, db_user, db_pwd, db_name, comment)
application/nlq/business/connection.py:27
↓ 1 callersMethodupdate_db_info
(self, conn_name, db_type=None, db_host=None, db_port=None, db_user=None, db_pwd=None,
application/nlq/data_access/dynamo_connection.py:261
↓ 1 callersFunctionupdate_index_mapping
Create index mapping :param opensearch_client: :param index_name: :param dimension: :return:
application/utils/opensearch.py:270
↓ 1 callersMethodupdate_model
(cls, model_id, model_region, prompt_template, input_payload, output_format)
application/nlq/business/model.py:42
↓ 1 callersMethodupdate_profile
(cls, profile_name, conn_name, schemas, tables, comment, tables_info, db_type, rls_enable, rls_config)
application/nlq/business/profile.py:46
↓ 1 callersMethodurl
(e)
application/static/components/marked.min.js:6
↓ 1 callersFunctionuseCreateWssClient
( setStatusMessage: Dispatch<SetStateAction<ChatBotMessageItem[]>> )
report-front-end/src/utils/api/WebSocket.ts:15
↓ 1 callersFunctionuser_feedback_downvote
(data_profiles: str, user_id: str, session_id: str, query: str, query_intent: str,
application/api/service.py:276
↓ 1 callersMethodvalidate_row_level_security_config
method to validate row-level security config
application/nlq/business/datasource/base.py:32
↓ 1 callersFunctionvt
(e,t,n)
application/static/components/jquery-3.7.1.min.js:2
↓ 1 callersFunctionwalkJSONTree
* Recursive walk for input value. * * @param {Element} outputParent is the Element that will contain the new DOM * @param {Object|Array} value
application/static/components/JsonViewer/json-viewer.js:49
↓ 1 callersFunctionyt
(o,e,t)
application/static/components/jquery-3.7.1.min.js:2
FunctionAiMessage
({ message, sendJsonMessage })
report-front-end/src/components/SectionChat/MessageRenderer/AiMessage.tsx:26
FunctionAiMessageRenderer
({ content, sendJsonMessage, }: IPropsAiMessageRenderer)
report-front-end/src/components/SectionChat/MessageRenderer/AiMessage.tsx:95
FunctionApp
({ user })
report-front-end/src/app.tsx:24
FunctionBaseAppLayout
(props: { content: AppLayoutProps["content"]; tools: AppLayoutProps["tools"]; navigation: AppLayoutProps
report-front-end/src/components/BaseAppLayout.tsx:5
FunctionChartPanel
(props: ChartTypeProps)
report-front-end/src/components/SectionChat/ChartRenderer.tsx:8
FunctionChatInput
({ sendJsonMessage, setToolsHide, toolsHide, messageHistory, }: ChatInputPanelProps)
report-front-end/src/components/SectionChat/ChatInput.tsx:34
FunctionCognitoLogin
()
report-front-end/src/components/Login/CognitoLogin/index.tsx:29
FunctionCustomLogin
()
report-front-end/src/components/Login/CustomLogin/index.tsx:4
FunctionCustomQuestions
({ sendJsonMessage, }: RecommendQuestionsProps)
report-front-end/src/components/SectionChat/CustomQuestions.tsx:13
MethodDATA_KEY
()
application/static/components/bootstrap/bootstrap.min.js:6
FunctionDataTable
({ distributions, header, }: { distributions: []; header: []; })
report-front-end/src/components/SectionChat/ResultRenderer.tsx:335
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
MethodDefault
()
application/static/components/bootstrap/bootstrap.min.js:6
← previousnext →501–600 of 944, ranked by callers