MCPcopy Create free account

hub / github.com/caesarHQ/textSQL / functions

Functions186 in github.com/caesarHQ/textSQL

↓ 1 callersFunctionpointsFeatures
(points)
client/censusGPT/src/utils/mapbox-ui-config.js:93
↓ 1 callersFunctionqueryTextToSQL
(payload)
api/app/api/chronjobs/test_homepage_queries.py:19
↓ 1 callersFunctionqueryTextToTables
(payload)
api/app/api/chronjobs/test_homepage_queries.py:14
↓ 1 callersFunctionreportWebVitals
(onPerfEntry)
client/censusGPT/src/reportWebVitals.js:1
↓ 1 callersFunctionrun_tasks
()
api/app/api/routes.py:69
↓ 1 callersFunctionsave_enums_metadata_to_json
()
byod/api/app/table_selection/utils.py:55
↓ 1 callersFunctionsave_tables_metadata_to_json
()
byod/api/app/table_selection/utils.py:50
↓ 1 callersFunctiontestQueryWorks
(query, scope)
api/app/api/chronjobs/test_homepage_queries.py:32
↓ 1 callersFunctiontext_to_sql_chat_with_retry
Takes a series of messages and tries to respond to a natural language query with valid SQL
api/app/api/utils/sql_gen/text_to_sql_chat.py:43
↓ 1 callersFunctiontext_to_sql_with_retry
Tries to take a natural language query and generate valid SQL to answer it K times
byod/api/app/sql_generation/utils.py:133
↓ 1 callersFunctionupdate_suggestion_as_used
(suggestion_id)
api/app/api/utils/caesar_logging.py:207
↓ 1 callersFunctionzipcodeFeatures
(zipcodes)
client/censusGPT/src/utils/mapbox-ui-config.js:5
FunctionCopySqlToClipboardButton
({ text })
client/censusGPT/src/components/results/sqlDisplay.js:30
FunctionDataPlot
(props)
client/censusGPT/src/components/dataPlot.js:5
FunctionErrorMessage
* The error message component * @param {*} props * @param {string} props.errorMessage - The error message to display * @returns {JSX.Element} – The
client/censusGPT/src/components/error.js:9
FunctionPromoBanner
()
client/censusGPT/src/components/banner.js:3
FunctionSanFrancisco
(props)
client/censusGPT/src/SanFrancisco.js:3
FunctionSearchBar
(props)
client/censusGPT/src/components/searchBar.js:18
FunctionSearchButton
(props)
client/censusGPT/src/components/searchBar.js:6
FunctionTermsOfService
()
client/censusGPT/src/misc/tos.js:2
FunctionVizSelector
(props)
client/censusGPT/src/components/vizSelector.js:1
Functionaccept_suggestion
()
api/app/api/routes.py:215
Functionclean_sql_message_content
Cleans message content to extract the SQL query
api/app/api/utils/messages.py:127
FunctionclearAll
()
client/censusGPT/src/App.js:105
FunctionconvertToTitleCase
(value)
client/censusGPT/src/components/table.js:11
Functioncreate_app
(config_object=FlaskAppConfig)
byod/api/app/__init__.py:18
Functioncreate_app
(config_object=FlaskAppConfig)
api/app/__init__.py:14
Functionexplain_sql
Explains SQL in natural language
api/app/api/routes.py:83
Functionextract_sql_from_markdown
(assistant_message_content)
api/app/api/utils/messages.py:160
Functionfailsoft
(func)
api/app/api/utils/caesar_logging.py:8
FunctionformatNumber
(value, col)
client/censusGPT/src/components/table.js:19
Functiongenerate_few_shot_queries
Generate few shot queries for each table - table selection - SQL generation
byod/api/app/setup/utils.py:140
Functionget_census_data_get
Get census data based on the question
api/app/api/chat_gpt_plugin.py:7
Functionget_discoverability
Get discoverability information for the app
api/app/api/discoverability_routes.py:15
Functionget_featured_sql
(input_str, scope="USA")
api/app/api/utils/cached_queries/featured_queries.py:36
Functionget_featured_table
(input_str, scope="USA")
api/app/api/utils/cached_queries/featured_queries.py:4
Functionget_initial_prompt
Crates the initial prompt for the given scope formatted to the given dialect and schemas. Args: dialect (str): This is something I s
api/app/api/utils/sql_gen/prompts.py:127
Functionget_relevant_tables
Identify relevant tables for answering a natural language query
api/app/api/utils/table_selection/table_selection.py:142
Functionget_response
(message: str)
api/discordbot/responses.py:4
Functionget_session_id
()
api/app/api/routes.py:223
Functionget_suggestion
Get suggested query, to build on top of a given query or as a similar query
api/app/api/routes.py:162
Functionget_suggestion_failed_query
Get suggested query for a query that we don't have data for
api/app/api/routes.py:144
Functionget_tables
Explains SQL in natural language
byod/api/app/sql_explanation/routes.py:8
Functionget_tables
Select relevant tables given a natural language query
byod/api/app/table_selection/routes.py:8
Functionget_tables
Get table names from database
byod/api/app/setup/routes.py:31
Functionget_tables
Select relevant tables given a natural language query
api/app/api/routes.py:44
Functionget_tables_metadata
Get tables metadata
byod/api/app/setup/routes.py:40
Functionget_types
Get type names from database
byod/api/app/setup/routes.py:56
Functionget_types_metadata
Get types metadata
byod/api/app/setup/routes.py:65
Functionget_visualization
Get Vega-Lite spec from data
byod/api/app/visualization/routes.py:9
FunctionhandleClearSearch
()
client/censusGPT/src/App.js:158
FunctionhandleClick
()
client/censusGPT/src/components/suggestion.js:39
FunctionhandleClickExample
(natural_language_query)
client/censusGPT/src/App.js:497
FunctionhandleClickOutside
(event)
client/censusGPT/src/components/results/sqlDisplay.js:105
FunctionhandleCopy
()
client/censusGPT/src/components/results/sqlDisplay.js:31
FunctionhandleDownloadMap
()
client/censusGPT/src/components/results/dataVisualization.js:71
FunctionhandleSearchChange
(event)
client/censusGPT/src/App.js:152
FunctionhandleSearchClick
()
client/censusGPT/src/App.js:796
Functionlog_apicall_failure
(duration, provider, model, input_tokens, service, purpose, session_id=None)
api/app/api/utils/caesar_logging.py:50
Functionlog_sentry_exception
(e)
api/app/api/utils/logging/sentry.py:5
Functionmake_rephrase_msg_with_schema_and_warnings
()
byod/api/app/sql_generation/utils.py:44
Functionmake_rephrase_msg_with_schema_and_warnings
()
api/app/api/utils/sql_gen/text_to_sql.py:25
Functionmodify_visualization
Change Vega-Lite spec based on a command
byod/api/app/visualization/routes.py:24
Functionon_message
(message)
api/discordbot/bot.py:34
Functionon_ready
()
api/discordbot/bot.py:25
Functionopenapi_json
()
api/app/api/chat_gpt_plugin.py:46
Functionopenapi_yaml
()
api/app/api/chat_gpt_plugin.py:69
Functionping
()
byod/api/app/__init__.py:37
Functionping
()
api/app/__init__.py:28
Functionquery_command
(interaction: Interaction)
api/discordbot/bot.py:29
Functionrun_discord_bot
()
api/discordbot/bot.py:17
Functionrun_sql
()
api/app/api/routes.py:179
Functionsave_in_context_examples_to_db
Save in-context-examples to database
byod/api/app/setup/utils.py:133
Functionsave_metadata
()
byod/api/app/setup/routes.py:81
Functionsave_tables_metadata_to_db
Save tables metadata to database
byod/api/app/setup/utils.py:108
Functionsave_types_metadata_to_db
Save types metadata to database
byod/api/app/setup/utils.py:66
FunctionsendToVercelAnalytics
(metric)
client/censusGPT/src/vitals.js:11
Functionsession_clear
(exception=None)
byod/api/app/__init__.py:53
Functionsetup_db
Set up database for text to SQL
byod/api/app/setup/routes.py:12
Functionsetup_metadata
()
byod/api/app/setup/routes.py:100
Functiontext_to_sql
Convert natural language query to SQL
byod/api/app/sql_generation/routes.py:12
Functiontext_to_sql
Convert natural language query to SQL
api/app/api/routes.py:97
Functiontext_to_sql_chat
Convert natural language query to SQL
api/app/api/routes.py:190
Functionuse_cached_sql
(sql)
api/app/api/utils/sql_gen/text_to_sql.py:119
Functionwrapper
(*args, **kwargs)
api/app/api/utils/caesar_logging.py:10
FunctionzipcodeLayerLow
(zipcodesFormatted)
client/censusGPT/src/utils/mapbox-ui-config.js:29
← previous101–186 of 186, ranked by callers