Which part do you have a question about? Creating embeddings for your data, or calling your existing data from it’s existing database?
Here are some thoughts on the latter:
- OpenAI Text to SQL
- Prompt Example - Natural Language to SQL
- https://platform.openai.com/examples/default-sql-translate
- OpenAI Functions calling the Poor Developers Vector Database
- Private Chat with CSV Data (@DevGirl explanation):