Harrison/prompt issues (#1537)

This commit is contained in:
Harrison Chase
2023-03-08 16:56:10 -08:00
committed by GitHub
parent 784d24a1d5
commit 2a7215bc3b
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ def _load_stuff_chain(
) -> StuffDocumentsChain: ) -> StuffDocumentsChain:
_prompt = prompt or stuff_prompt.PROMPT_SELECTOR.get_prompt(llm) _prompt = prompt or stuff_prompt.PROMPT_SELECTOR.get_prompt(llm)
llm_chain = LLMChain( llm_chain = LLMChain(
llm=llm, prompt=prompt, verbose=verbose, callback_manager=callback_manager llm=llm, prompt=_prompt, verbose=verbose, callback_manager=callback_manager
) )
# TODO: document prompt # TODO: document prompt
return StuffDocumentsChain( return StuffDocumentsChain(

View File

@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "langchain" name = "langchain"
version = "0.0.104" version = "0.0.105"
description = "Building applications with LLMs through composability" description = "Building applications with LLMs through composability"
authors = [] authors = []
license = "MIT" license = "MIT"