Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 515 Bytes

demo_code.md

File metadata and controls

31 lines (27 loc) · 515 Bytes
jupyter
jupytext kernelspec
text_representation
extension format_name format_version jupytext_version
.md
markdown
1.3
1.16.1
display_name language name
langchain
python
python3

Demo Langchain

# import the package we created
from  llm_query import langchain_example
# create a class istance
predictor = langchain_example.Pred()
# get an answer from ChatGpt
my_prompt = "hi"
predictor.answer(my_prompt)