•   about 2 years ago

Generate SQL from Snowflake table

Is Arctic capable of generating SQLs fro Snowflake tables? If yes, do you have any code samples for reference?

  • 2 comments

  • Manager   •   about 2 years ago

    Hey Manikandan!

    I'd suggest playing with the Arctic demo here: https://arctic.streamlit.app/

    Try a few prompts that tell Arctic specifically to use the Snowflake SQL syntax variant. It should be trained on Snowflake SQL.

    Let me know if this doesn't answer your question! :)

  • Manager   •   about 2 years ago

    Hey @Manikandan, thanks for sharing this question! ❤️ This is definitely something you can use Snowflake Arctic for (and a cool use case!). Although I don't have a snippet demo'ing this concept with Arctic, we do have a guide which walks you through the process of building an app to do this with GPT-3.5. The code to do this with Arctic wouldn't be too different, so this could likely be a good starting point for you: https://quickstarts.snowflake.com/guide/frosty_llm_chatbot_on_streamlit_snowflake/index.html#0

Comments are closed.