Closed ainomic-dev closed 11 months ago
Issue:
prompt_template = promptlayer.prompts.get("test_template", langchain=True) print(prompt_template)
The above prints the following output:
'output_parser' None
The expected output is of type ChatPromptTemplate. It prints above output because of a bug in the code of to_prompt method. I've fixed the bug and submitting this PR to review and receive feedback.
ChatPromptTemplate
to_prompt
Version: 0.1.93 Python: 3.10.12 Langchain: 0.0.247
Issue:
The above prints the following output:
The expected output is of type
ChatPromptTemplate
. It prints above output because of a bug in the code ofto_prompt
method. I've fixed the bug and submitting this PR to review and receive feedback.System Details
Version: 0.1.93 Python: 3.10.12 Langchain: 0.0.247