Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can migrate that data to a vector database (eg Pinecone or pgVector) and then query it. I didn’t write it but this guide has a good overview of concepts and some code. In your case your just replace the web crawler with database queries. All the libraries used also exist in Python.

https://www.pinecone.io/learn/javascript-chatbot/

Edit: this might also be of use

https://python.langchain.com/docs/modules/chains/popular/sql...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: