Skip to content

Commit

Permalink
Update version number and fix bug in conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashankar committed Sep 30, 2024
1 parent 05ede3f commit c26994d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docetl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.4"
__version__ = "0.1.5"

from docetl.runner import DSLRunner
from docetl.builder import Optimizer
Expand Down
2 changes: 1 addition & 1 deletion docetl/operations/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def parse_llm_response(
output_dict = json.loads(tool_call.function.arguments)
if "ollama" in response.model:
for key, value in output_dict.items():
if isinstance(value, str):
if not isinstance(value, str):
continue
try:
output_dict[key] = ast.literal_eval(value)
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 = "docetl"
version = "0.1.4"
version = "0.1.5"
description = "ETL with LLM operations."
authors = ["Shreya Shankar <shreyashankar@berkeley.edu>"]
license = "MIT"
Expand Down

0 comments on commit c26994d

Please sign in to comment.