Find answers from the community

Updated 2 months ago

I have a very generic question and

I have a very generic question and wondering whether llama-index would help me here. I would like to integrate with Athena and read the schema of the specified table, craft the sql query, execute it on Athena and then return the results on something like a streamlit application. From the users perspective i would like them to enter something like From the event model can you show me the number of minutes viewed by device between the dates 20230101 and 20230131 inclusive. Is this something that i can do via llama-index or should i be using another framework. My approach would be to read the event schema from Athena, pass it in as part of the context, along with the user request and then send it to OpenAPI
L
1 comment
I'm not familiar with athena, but if it works with sqlalchemy, our sql query engine will do most of this automatically

https://gpt-index.readthedocs.io/en/latest/end_to_end_tutorials/structured_data/sql_guide.html
Add a reply
Sign up and join the conversation on Discord