run-llama/LlamaIndexTS

NLSQLTableQueryEngine alternavite in TS

开放

#573 创建于 2024年2月26日

 (2 条评论) (1 个反应) (0 位负责人)TypeScript (524 个派生)auto 404
help wantedquestion

仓库指标

星标
 (3,078 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南