AIAnytime / Llama2-Medical-Chatbot

This is a medical bot built using Llama2 and Sentence Transformers. The bot is powered by Langchain and Chainlit. The bot runs on a decent CPU machine with a minimum of 16GB of RAM.
MIT License
296 stars 218 forks source link

Fix import statement for PromptTemplate in model.py #21

Closed pranav-js670 closed 8 months ago

pranav-js670 commented 8 months ago

Changes Made

Context I encountered a warning related to the import statement for PromptTemplate in the model.py file. The warning suggested updating the import to langchain.prompts.PromptTemplate instead of langchain.PromptTemplate. This pull request addresses that warning by making the necessary changes.

Additional Information

Thank You!