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

Function _extract_text_from_markdown

byod/api/app/table_selection/utils.py:165–169  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

163
164
165def _extract_text_from_markdown(text):
166 matches = re.findall(r"```([\s\S]+?)```", text)
167 if matches:
168 return matches[0]
169 return text
170
171
172def get_relevant_tables_from_lm(natural_language_query):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected