├── .gitignore ├── LICENSE ├── README.md ├── __init__.py ├── agent_demo_video.gif ├── cortexagent-run.yaml ├── create_agent.json ├── data_agent_demo.py ├── models ├── __init__.py ├── analyst_resource.py ├── analyst_tool_result_delta_content_item.py ├── analyst_tool_result_delta_event.py ├── analyst_tool_result_delta_event_data.py ├── annotation.py ├── chart_content.py ├── chart_content_item.py ├── chart_event.py ├── chart_event_data.py ├── content_item_event.py ├── cortex_analyst_suggestion_delta.py ├── cortex_analyst_tool_result_delta.py ├── cortex_search_citation.py ├── data_agent_run_request.py ├── data_agent_run_request_execution_trace.py ├── error_event.py ├── error_event_data.py ├── error_response.py ├── lite_agent_run_request.py ├── lite_agent_run_request_instructions.py ├── lite_agent_run_request_models.py ├── message.py ├── message_content_item.py ├── response_event.py ├── response_event_data.py ├── response_text_annotation_event.py ├── response_text_annotation_event_data.py ├── result_set.py ├── result_set_meta_data.py ├── row_type.py ├── search_resource.py ├── server_sent_event.py ├── status_event.py ├── status_event_data.py ├── suggested_queries_content.py ├── suggested_queries_content_item.py ├── suggested_queries_event.py ├── suggested_queries_event_data.py ├── suggested_query.py ├── table_content.py ├── table_content_item.py ├── table_event.py ├── table_event_data.py ├── text_content.py ├── text_content_item.py ├── text_delta_content_item.py ├── text_delta_event.py ├── text_delta_event_data.py ├── text_event.py ├── text_event_data.py ├── thinking_content.py ├── thinking_content_item.py ├── thinking_delta_content_item.py ├── thinking_delta_event.py ├── thinking_delta_event_data.py ├── thinking_event.py ├── thinking_event_data.py ├── tool.py ├── tool_choice.py ├── tool_result.py ├── tool_result_content.py ├── tool_result_content_item.py ├── tool_result_content_json.py ├── tool_result_content_text.py ├── tool_result_event.py ├── tool_result_event_data.py ├── tool_result_status_event.py ├── tool_result_status_event_data.py ├── tool_tool_spec.py ├── tool_tool_spec_input_schema.py ├── tool_use.py ├── tool_use_content_item.py ├── tool_use_event.py ├── tool_use_event_data.py └── web_search_citation.py ├── openapi-generator.sh ├── requirements.txt ├── sales_metrics_model.yaml └── setup.sql /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent_demo_video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/agent_demo_video.gif -------------------------------------------------------------------------------- /cortexagent-run.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/cortexagent-run.yaml -------------------------------------------------------------------------------- /create_agent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/create_agent.json -------------------------------------------------------------------------------- /data_agent_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/data_agent_demo.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/analyst_resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/analyst_resource.py -------------------------------------------------------------------------------- /models/analyst_tool_result_delta_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/analyst_tool_result_delta_content_item.py -------------------------------------------------------------------------------- /models/analyst_tool_result_delta_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/analyst_tool_result_delta_event.py -------------------------------------------------------------------------------- /models/analyst_tool_result_delta_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/analyst_tool_result_delta_event_data.py -------------------------------------------------------------------------------- /models/annotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/annotation.py -------------------------------------------------------------------------------- /models/chart_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/chart_content.py -------------------------------------------------------------------------------- /models/chart_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/chart_content_item.py -------------------------------------------------------------------------------- /models/chart_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/chart_event.py -------------------------------------------------------------------------------- /models/chart_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/chart_event_data.py -------------------------------------------------------------------------------- /models/content_item_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/content_item_event.py -------------------------------------------------------------------------------- /models/cortex_analyst_suggestion_delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/cortex_analyst_suggestion_delta.py -------------------------------------------------------------------------------- /models/cortex_analyst_tool_result_delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/cortex_analyst_tool_result_delta.py -------------------------------------------------------------------------------- /models/cortex_search_citation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/cortex_search_citation.py -------------------------------------------------------------------------------- /models/data_agent_run_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/data_agent_run_request.py -------------------------------------------------------------------------------- /models/data_agent_run_request_execution_trace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/data_agent_run_request_execution_trace.py -------------------------------------------------------------------------------- /models/error_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/error_event.py -------------------------------------------------------------------------------- /models/error_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/error_event_data.py -------------------------------------------------------------------------------- /models/error_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/error_response.py -------------------------------------------------------------------------------- /models/lite_agent_run_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/lite_agent_run_request.py -------------------------------------------------------------------------------- /models/lite_agent_run_request_instructions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/lite_agent_run_request_instructions.py -------------------------------------------------------------------------------- /models/lite_agent_run_request_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/lite_agent_run_request_models.py -------------------------------------------------------------------------------- /models/message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/message.py -------------------------------------------------------------------------------- /models/message_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/message_content_item.py -------------------------------------------------------------------------------- /models/response_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/response_event.py -------------------------------------------------------------------------------- /models/response_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/response_event_data.py -------------------------------------------------------------------------------- /models/response_text_annotation_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/response_text_annotation_event.py -------------------------------------------------------------------------------- /models/response_text_annotation_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/response_text_annotation_event_data.py -------------------------------------------------------------------------------- /models/result_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/result_set.py -------------------------------------------------------------------------------- /models/result_set_meta_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/result_set_meta_data.py -------------------------------------------------------------------------------- /models/row_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/row_type.py -------------------------------------------------------------------------------- /models/search_resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/search_resource.py -------------------------------------------------------------------------------- /models/server_sent_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/server_sent_event.py -------------------------------------------------------------------------------- /models/status_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/status_event.py -------------------------------------------------------------------------------- /models/status_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/status_event_data.py -------------------------------------------------------------------------------- /models/suggested_queries_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/suggested_queries_content.py -------------------------------------------------------------------------------- /models/suggested_queries_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/suggested_queries_content_item.py -------------------------------------------------------------------------------- /models/suggested_queries_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/suggested_queries_event.py -------------------------------------------------------------------------------- /models/suggested_queries_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/suggested_queries_event_data.py -------------------------------------------------------------------------------- /models/suggested_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/suggested_query.py -------------------------------------------------------------------------------- /models/table_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/table_content.py -------------------------------------------------------------------------------- /models/table_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/table_content_item.py -------------------------------------------------------------------------------- /models/table_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/table_event.py -------------------------------------------------------------------------------- /models/table_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/table_event_data.py -------------------------------------------------------------------------------- /models/text_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_content.py -------------------------------------------------------------------------------- /models/text_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_content_item.py -------------------------------------------------------------------------------- /models/text_delta_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_delta_content_item.py -------------------------------------------------------------------------------- /models/text_delta_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_delta_event.py -------------------------------------------------------------------------------- /models/text_delta_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_delta_event_data.py -------------------------------------------------------------------------------- /models/text_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_event.py -------------------------------------------------------------------------------- /models/text_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/text_event_data.py -------------------------------------------------------------------------------- /models/thinking_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_content.py -------------------------------------------------------------------------------- /models/thinking_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_content_item.py -------------------------------------------------------------------------------- /models/thinking_delta_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_delta_content_item.py -------------------------------------------------------------------------------- /models/thinking_delta_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_delta_event.py -------------------------------------------------------------------------------- /models/thinking_delta_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_delta_event_data.py -------------------------------------------------------------------------------- /models/thinking_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_event.py -------------------------------------------------------------------------------- /models/thinking_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/thinking_event_data.py -------------------------------------------------------------------------------- /models/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool.py -------------------------------------------------------------------------------- /models/tool_choice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_choice.py -------------------------------------------------------------------------------- /models/tool_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result.py -------------------------------------------------------------------------------- /models/tool_result_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_content.py -------------------------------------------------------------------------------- /models/tool_result_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_content_item.py -------------------------------------------------------------------------------- /models/tool_result_content_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_content_json.py -------------------------------------------------------------------------------- /models/tool_result_content_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_content_text.py -------------------------------------------------------------------------------- /models/tool_result_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_event.py -------------------------------------------------------------------------------- /models/tool_result_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_event_data.py -------------------------------------------------------------------------------- /models/tool_result_status_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_status_event.py -------------------------------------------------------------------------------- /models/tool_result_status_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_result_status_event_data.py -------------------------------------------------------------------------------- /models/tool_tool_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_tool_spec.py -------------------------------------------------------------------------------- /models/tool_tool_spec_input_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_tool_spec_input_schema.py -------------------------------------------------------------------------------- /models/tool_use.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_use.py -------------------------------------------------------------------------------- /models/tool_use_content_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_use_content_item.py -------------------------------------------------------------------------------- /models/tool_use_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_use_event.py -------------------------------------------------------------------------------- /models/tool_use_event_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/tool_use_event_data.py -------------------------------------------------------------------------------- /models/web_search_citation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/models/web_search_citation.py -------------------------------------------------------------------------------- /openapi-generator.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/openapi-generator.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/requirements.txt -------------------------------------------------------------------------------- /sales_metrics_model.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/sales_metrics_model.yaml -------------------------------------------------------------------------------- /setup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Snowflake-Labs/sfguide-getting-started-with-cortex-agents/HEAD/setup.sql --------------------------------------------------------------------------------