Find answers from the community

S
Sam
Offline, last seen 3 months ago
Joined September 25, 2024
S
Sam
·

Sql

hey guys,i am trying to integrate llama index for the use case text to sql with a hugging face llm model,
i have a database of my own on mysql, and the reference that i used is "https://docs.llamaindex.ai/en/stable/examples/index_structs/struct_indices/SQLIndexDemo.html" and when i tried to use sqlcoder 7b, it isn't generated what i expected as output, my guess is that the problem is at the query_wrapper_prompt in prompt template
can some one help me out with what i am supposed to give as system prompt and query_wrapper_prompt(prompt template) for the llm sqlcoder 7b
4 comments
S
L