From 60601694b73eee9c0a1c03ecd1a6113789f2ff22 Mon Sep 17 00:00:00 2001 From: Joel Alexander Date: Wed, 19 Jun 2024 13:43:14 -0400 Subject: [PATCH] fix to float --- parea/schemas/models.py | 5 ++--- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/parea/schemas/models.py b/parea/schemas/models.py index 2f1508e0..4b47d91f 100644 --- a/parea/schemas/models.py +++ b/parea/schemas/models.py @@ -1,7 +1,6 @@ -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 @@ -65,7 +64,7 @@ class Prompt: @define class UseDeployedPromptResponse: deployment_id: str - version_number: int + version_number: float name: Optional[str] = None functions: Optional[List[str]] = None function_call: Optional[str] = None diff --git a/pyproject.toml b/pyproject.toml index b003fe37..21f6c464 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "parea-ai" packages = [{ include = "parea" }] -version = "0.2.177" +version = "0.2.178" description = "Parea python sdk" readme = "README.md" authors = ["joel-parea-ai "]