Skip to content

Commit

Permalink
bump version to 0.0.70 (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwchase17 authored Jan 26, 2023
1 parent 2ba1128 commit 7f76a11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion langchain/prompts/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 7f76a11

Please sign in to comment.