Ritu Singh
Problem:
Trying to conenct postgresql with langchain.llm used - Azureopenai
Error:
Tried different versions of langchain
Solution:
Your question is not clear:
Please see if all the steps are correct from the beginning.
Install Packages
Next create a python file called main.py and import the following:
Connect to database:
Set database:
Once you have your OPENAI_API_KEY:
Define your llm model:
Toolkit should be:
Credit to @DishenWang for the complete article:
Suggested blogs:
>How is the value of the path column under the wagtailcore_page table populated?
>Why VSCode indicate an error on using {{ }}?
>Fix the python-decouple issue in Django
>Address the N+1 problem in Django with prefetch
>How can I retrieve all customers' bookings by their username/ID?
>How to solve Static Files not being found in Django?