MCPcopy Create free account
hub / github.com/caesarHQ/textSQL / make_default_messages

Function make_default_messages

api/app/api/utils/sql_gen/text_to_sql.py:18–22  ·  view source on GitHub ↗
(schemas: str, scope="USA", n=-1)

Source from the content-addressed store, hash-verified

16)
17
18def make_default_messages(schemas: str, scope="USA", n=-1):
19 default_messages = []
20
21 default_messages.extend(get_few_shot_example_messages(mode="text_to_sql", scope=scope, n=n))
22 return default_messages
23
24
25def make_rephrase_msg_with_schema_and_warnings():

Callers 1

text_to_sql_with_retryFunction · 0.70

Calls 1

Tested by

no test coverage detected