Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
joschkabraun committed Jun 20, 2024
1 parent 1e29689 commit ad6dbb5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions parea/cookbook/instructor/instructor_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from dotenv import load_dotenv
from openai import AsyncOpenAI


from parea import Parea

load_dotenv()
Expand All @@ -20,7 +19,6 @@
from pydantic import BaseModel



class UserDetail(BaseModel):
name: str
age: int
Expand Down
3 changes: 2 additions & 1 deletion parea/schemas/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Any, Dict, Iterable, List, Optional, Tuple

import json
from enum import Enum
from typing import Any, Dict, Iterable, List, Optional, Tuple

from attrs import define, field, validators

Expand Down
2 changes: 1 addition & 1 deletion parea/utils/trace_integrations/instructor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from json import JSONDecodeError
from typing import Any, Callable, Mapping, Tuple

import contextvars
from json import JSONDecodeError

from instructor.retry import InstructorRetryException
from pydantic import ValidationError
Expand Down
5 changes: 2 additions & 3 deletions parea/wrapper/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
from parea.constants import PAREA_OS_ENV_EXPERIMENT_UUID
from parea.evals.utils import _make_evaluations
from parea.helpers import is_logging_disabled, timezone_aware_now
from parea.schemas.models import TraceLog, UpdateTraceScenario, UpdateLog
from parea.utils.trace_utils import call_eval_funcs_then_log, execution_order_counters, fill_trace_data, trace_context, \
trace_data, logger_update_record
from parea.schemas.models import TraceLog, UpdateLog, UpdateTraceScenario
from parea.utils.trace_utils import call_eval_funcs_then_log, execution_order_counters, fill_trace_data, logger_update_record, trace_context, trace_data
from parea.wrapper.utils import safe_format_template_to_prompt, skip_decorator_if_func_in_stack

logger = logging.getLogger()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "parea-ai"
packages = [{ include = "parea" }]
version = "0.2.178"
version = "0.2.179"
description = "Parea python sdk"
readme = "README.md"
authors = ["joel-parea-ai <[email protected]>"]
Expand Down

0 comments on commit ad6dbb5

Please sign in to comment.