bump version to 0.0.70 (#744)

This commit is contained in:
Harrison Chase 2023-01-25 17:58:37 -08:00 committed by GitHub
parent 2ba1128095
commit 7f76a1189c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"