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
Updated import statement for PromptTemplate in model.py.
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
This change improves code quality and ensures compatibility with the latest practices.
The code has been tested locally and runs without errors.
Changes Made
PromptTemplate
inmodel.py
.Context I encountered a warning related to the import statement for
PromptTemplate
in themodel.py
file. The warning suggested updating the import tolangchain.prompts.PromptTemplate
instead oflangchain.PromptTemplate
. This pull request addresses that warning by making the necessary changes.Additional Information
Thank You!