JYTDemo / chat_w_pdf_openai

9 stars 11 forks source link

Question on populating the OPENAI configurations #1

Open nbibin001 opened 5 months ago

nbibin001 commented 5 months ago

I am trying to follow your code example Chat with PDF using OpenAI. I am trying to find out how to populate these , only thing I got is the OPEN AI Key from the Open AI account. Could you please help ? I am refering to this Youtube Video https://www.youtube.com/watch?v=CTheO06NzD4

image

nbibin001 commented 5 months ago

These lines in particular image

JYTDemo commented 5 months ago

In case of Open AI just keep the OPENAI_API_KEY and remove the rest. Also you would need to change the langchain library from Azure OpenAI to only OpenAI.