run-llama/LlamaIndexTS

NLSQLTableQueryEngine alternavite in TS

オープン

#573 opened on 2024/02/26

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (524 件のフォーク)auto 404
help wantedquestion

Repository metrics

Stars
 (3,078 個のスター)
PR merge metrics
 (30d に merged 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?

コントリビューターガイド