mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 16:43:35 +00:00
bump version to 0.0.70 (#744)
This commit is contained in:
parent
2ba1128095
commit
7f76a1189c
@ -99,7 +99,7 @@ def _load_prompt(config: dict) -> PromptTemplate:
|
||||
def load_prompt(path: Union[str, Path]) -> BasePromptTemplate:
|
||||
"""Unified method for loading a prompt from LangChainHub or local fs."""
|
||||
if isinstance(path, str) and path.startswith("lc://prompts"):
|
||||
path = os.path.relpath("lc://prompts/conversation/prompt.json", "lc://prompts/")
|
||||
path = os.path.relpath(path, "lc://prompts/")
|
||||
return _load_from_hub(path)
|
||||
else:
|
||||
return _load_prompt_from_file(path)
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "langchain"
|
||||
version = "0.0.69"
|
||||
version = "0.0.70"
|
||||
description = "Building applications with LLMs through composability"
|
||||
authors = []
|
||||
license = "MIT"
|
||||
|
Loading…
Reference in New Issue
Block a user