Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NLSQLTableQueryEngine alternavite in TS #573

Open
BlaackZero opened this issue Feb 26, 2024 · 1 comment
Open

NLSQLTableQueryEngine alternavite in TS #573

BlaackZero opened this issue Feb 26, 2024 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@BlaackZero
Copy link

am trying to perform sql queries from a connection to mssql like in this example in python but in ts

`from llama_index.core.query_engine import NLSQLTableQueryEngine

query_engine = NLSQLTableQueryEngine(
sql_database=sql_database, tables=["city_stats"], llm=llm
)
query_str = "Which city has the highest population?"
response = query_engine.query(query_str)`

Is there an alternative to the NLSQLTableQueryEngine method or am I misdirected?

@himself65 himself65 added help wanted Extra attention is needed question Further information is requested labels Feb 26, 2024
@EmanuelCampos
Copy link
Collaborator

@BlaackZero We're working on it, we should have a experimental release soon, but not recommended to production yet :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants