hey guys, cant find any documentation for SQLTableRetrieverQueryEngine. i want to change the model to "gpt-3.5-turbo-16k-0613" but cant seem to insert this as a paramater:
Here's code (copied from
https://gpt-index.readthedocs.io/en/latest/examples/index_structs/struct_indices/duckdb_sql_query.html#advanced-text-to-sql-with-our-sqltableretrieverqueryengine):
query_engine = SQLTableRetrieverQueryEngine(
sql_database,
obj_index.as_retriever(similarity_top_k=1),
)
just for reference i was able to do the same with the engine using the following code:
llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo-16k-0613", max_tokens=512, verbose = True))
service_context = ServiceContext.from_defaults(llm_predictor=llm_predictor)
query_engine = NLSQLTableQueryEngine(
sql_database=sql_database,
tables=tables_selected,
service_context=service_context,
)