Closed gleb-roma closed 9 months ago
https://github.com/yvann-hub/Robby-chatbot/blob/15392010c0f39b247c271533d561d7cc6b3acb2d/tuto_chatbot_csv.py#L28C34-L28C34
You need to pass OPENAI key to the embeddings, too, eg:
embeddings = OpenAIEmbeddings(openai_api_key=user_api_key)
@yvann-hub please review and merge my changes. Thanks
https://github.com/yvann-hub/Robby-chatbot/blob/15392010c0f39b247c271533d561d7cc6b3acb2d/tuto_chatbot_csv.py#L28C34-L28C34
You need to pass OPENAI key to the embeddings, too, eg:
embeddings = OpenAIEmbeddings(openai_api_key=user_api_key)