|
|
@ -135,8 +135,6 @@ def AIProxy (_label,_query,_path,_CATALOG) :
|
|
|
|
_about = f'{_about}\n{_var} = {_value}'
|
|
|
|
_about = f'{_about}\n{_var} = {_value}'
|
|
|
|
_qcat['sql'] = _qcat['sql'].replace(f':{_var}',_value)
|
|
|
|
_qcat['sql'] = _qcat['sql'].replace(f':{_var}',_value)
|
|
|
|
|
|
|
|
|
|
|
|
print (_qcat)
|
|
|
|
|
|
|
|
print (' ******************** ')
|
|
|
|
|
|
|
|
_catalog = _qreader.read(**_qcat).to_csv(index=0)
|
|
|
|
_catalog = _qreader.read(**_qcat).to_csv(index=0)
|
|
|
|
_about = f"The queries will run on {_provider} database.\n{_about}"
|
|
|
|
_about = f"The queries will run on {_provider} database.\n{_about}"
|
|
|
|
r = _agent.toSQL(_query,_catalog, _about)
|
|
|
|
r = _agent.toSQL(_query,_catalog, _about)
|
|
|
|