mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-07 13:40:46 +00:00
Harrison/prompt issues (#1537)
This commit is contained in:
parent
784d24a1d5
commit
2a7215bc3b
@ -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(
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user