Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caesarHQ/textSQL
/ functions
Functions
186 in github.com/caesarHQ/textSQL
⨍
Functions
186
◇
Types & classes
12
↳
Endpoints
27
↓ 1 callers
Function
pointsFeatures
(points)
client/censusGPT/src/utils/mapbox-ui-config.js:93
↓ 1 callers
Function
queryTextToSQL
(payload)
api/app/api/chronjobs/test_homepage_queries.py:19
↓ 1 callers
Function
queryTextToTables
(payload)
api/app/api/chronjobs/test_homepage_queries.py:14
↓ 1 callers
Function
reportWebVitals
(onPerfEntry)
client/censusGPT/src/reportWebVitals.js:1
↓ 1 callers
Function
run_tasks
()
api/app/api/routes.py:69
↓ 1 callers
Function
save_enums_metadata_to_json
()
byod/api/app/table_selection/utils.py:55
↓ 1 callers
Function
save_tables_metadata_to_json
()
byod/api/app/table_selection/utils.py:50
↓ 1 callers
Function
testQueryWorks
(query, scope)
api/app/api/chronjobs/test_homepage_queries.py:32
↓ 1 callers
Function
text_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 callers
Function
text_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 callers
Function
update_suggestion_as_used
(suggestion_id)
api/app/api/utils/caesar_logging.py:207
↓ 1 callers
Function
zipcodeFeatures
(zipcodes)
client/censusGPT/src/utils/mapbox-ui-config.js:5
Function
CopySqlToClipboardButton
({ text })
client/censusGPT/src/components/results/sqlDisplay.js:30
Function
DataPlot
(props)
client/censusGPT/src/components/dataPlot.js:5
Function
ErrorMessage
* 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
Function
PromoBanner
()
client/censusGPT/src/components/banner.js:3
Function
SanFrancisco
(props)
client/censusGPT/src/SanFrancisco.js:3
Function
SearchBar
(props)
client/censusGPT/src/components/searchBar.js:18
Function
SearchButton
(props)
client/censusGPT/src/components/searchBar.js:6
Function
TermsOfService
()
client/censusGPT/src/misc/tos.js:2
Function
VizSelector
(props)
client/censusGPT/src/components/vizSelector.js:1
Function
accept_suggestion
()
api/app/api/routes.py:215
Function
clean_sql_message_content
Cleans message content to extract the SQL query
api/app/api/utils/messages.py:127
Function
clearAll
()
client/censusGPT/src/App.js:105
Function
convertToTitleCase
(value)
client/censusGPT/src/components/table.js:11
Function
create_app
(config_object=FlaskAppConfig)
byod/api/app/__init__.py:18
Function
create_app
(config_object=FlaskAppConfig)
api/app/__init__.py:14
Function
explain_sql
Explains SQL in natural language
api/app/api/routes.py:83
Function
extract_sql_from_markdown
(assistant_message_content)
api/app/api/utils/messages.py:160
Function
failsoft
(func)
api/app/api/utils/caesar_logging.py:8
Function
formatNumber
(value, col)
client/censusGPT/src/components/table.js:19
Function
generate_few_shot_queries
Generate few shot queries for each table - table selection - SQL generation
byod/api/app/setup/utils.py:140
Function
get_census_data_get
Get census data based on the question
api/app/api/chat_gpt_plugin.py:7
Function
get_discoverability
Get discoverability information for the app
api/app/api/discoverability_routes.py:15
Function
get_featured_sql
(input_str, scope="USA")
api/app/api/utils/cached_queries/featured_queries.py:36
Function
get_featured_table
(input_str, scope="USA")
api/app/api/utils/cached_queries/featured_queries.py:4
Function
get_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
Function
get_relevant_tables
Identify relevant tables for answering a natural language query
api/app/api/utils/table_selection/table_selection.py:142
Function
get_response
(message: str)
api/discordbot/responses.py:4
Function
get_session_id
()
api/app/api/routes.py:223
Function
get_suggestion
Get suggested query, to build on top of a given query or as a similar query
api/app/api/routes.py:162
Function
get_suggestion_failed_query
Get suggested query for a query that we don't have data for
api/app/api/routes.py:144
Function
get_tables
Explains SQL in natural language
byod/api/app/sql_explanation/routes.py:8
Function
get_tables
Select relevant tables given a natural language query
byod/api/app/table_selection/routes.py:8
Function
get_tables
Get table names from database
byod/api/app/setup/routes.py:31
Function
get_tables
Select relevant tables given a natural language query
api/app/api/routes.py:44
Function
get_tables_metadata
Get tables metadata
byod/api/app/setup/routes.py:40
Function
get_types
Get type names from database
byod/api/app/setup/routes.py:56
Function
get_types_metadata
Get types metadata
byod/api/app/setup/routes.py:65
Function
get_visualization
Get Vega-Lite spec from data
byod/api/app/visualization/routes.py:9
Function
handleClearSearch
()
client/censusGPT/src/App.js:158
Function
handleClick
()
client/censusGPT/src/components/suggestion.js:39
Function
handleClickExample
(natural_language_query)
client/censusGPT/src/App.js:497
Function
handleClickOutside
(event)
client/censusGPT/src/components/results/sqlDisplay.js:105
Function
handleCopy
()
client/censusGPT/src/components/results/sqlDisplay.js:31
Function
handleDownloadMap
()
client/censusGPT/src/components/results/dataVisualization.js:71
Function
handleSearchChange
(event)
client/censusGPT/src/App.js:152
Function
handleSearchClick
()
client/censusGPT/src/App.js:796
Function
log_apicall_failure
(duration, provider, model, input_tokens, service, purpose, session_id=None)
api/app/api/utils/caesar_logging.py:50
Function
log_sentry_exception
(e)
api/app/api/utils/logging/sentry.py:5
Function
make_rephrase_msg_with_schema_and_warnings
()
byod/api/app/sql_generation/utils.py:44
Function
make_rephrase_msg_with_schema_and_warnings
()
api/app/api/utils/sql_gen/text_to_sql.py:25
Function
modify_visualization
Change Vega-Lite spec based on a command
byod/api/app/visualization/routes.py:24
Function
on_message
(message)
api/discordbot/bot.py:34
Function
on_ready
()
api/discordbot/bot.py:25
Function
openapi_json
()
api/app/api/chat_gpt_plugin.py:46
Function
openapi_yaml
()
api/app/api/chat_gpt_plugin.py:69
Function
ping
()
byod/api/app/__init__.py:37
Function
ping
()
api/app/__init__.py:28
Function
query_command
(interaction: Interaction)
api/discordbot/bot.py:29
Function
run_discord_bot
()
api/discordbot/bot.py:17
Function
run_sql
()
api/app/api/routes.py:179
Function
save_in_context_examples_to_db
Save in-context-examples to database
byod/api/app/setup/utils.py:133
Function
save_metadata
()
byod/api/app/setup/routes.py:81
Function
save_tables_metadata_to_db
Save tables metadata to database
byod/api/app/setup/utils.py:108
Function
save_types_metadata_to_db
Save types metadata to database
byod/api/app/setup/utils.py:66
Function
sendToVercelAnalytics
(metric)
client/censusGPT/src/vitals.js:11
Function
session_clear
(exception=None)
byod/api/app/__init__.py:53
Function
setup_db
Set up database for text to SQL
byod/api/app/setup/routes.py:12
Function
setup_metadata
()
byod/api/app/setup/routes.py:100
Function
text_to_sql
Convert natural language query to SQL
byod/api/app/sql_generation/routes.py:12
Function
text_to_sql
Convert natural language query to SQL
api/app/api/routes.py:97
Function
text_to_sql_chat
Convert natural language query to SQL
api/app/api/routes.py:190
Function
use_cached_sql
(sql)
api/app/api/utils/sql_gen/text_to_sql.py:119
Function
wrapper
(*args, **kwargs)
api/app/api/utils/caesar_logging.py:10
Function
zipcodeLayerLow
(zipcodesFormatted)
client/censusGPT/src/utils/mapbox-ui-config.js:29
← previous
101–186 of 186, ranked by callers