Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 1.5.0 #33

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.4.0"
".": "1.5.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 50
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-b2101c3617c9a925c33cfac5fb824c3481c6fab7752b4f9bac21303b92db8f3b.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-89ae6d1058b64645def4b6ada42747bee6d9ffa12aff05fdc382bf7dc3979d14.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.5.0 (2024-09-25)

Full Changelog: [v1.4.0...v1.5.0](https://github.com/julep-ai/python-sdk/compare/v1.4.0...v1.5.0)

### Features

* **api:** OpenAPI spec update via Stainless API ([#32](https://github.com/julep-ai/python-sdk/issues/32)) ([f359535](https://github.com/julep-ai/python-sdk/commit/f3595355079ad286913b6ac8516f98220c6cb8a4))

## 1.4.0 (2024-09-25)

Full Changelog: [v1.3.2...v1.4.0](https://github.com/julep-ai/python-sdk/compare/v1.3.2...v1.4.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "julep"
version = "1.4.0"
version = "1.5.0"
description = "The official Python library for the julep API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/julep/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "julep"
__version__ = "1.4.0" # x-release-please-version
__version__ = "1.5.0" # x-release-please-version
2 changes: 1 addition & 1 deletion src/julep/types/agents/tool_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Function(TypedDict, total=False):

class Integration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down
4 changes: 1 addition & 3 deletions src/julep/types/agents/tool_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class Function(BaseModel):


class Integration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down
2 changes: 1 addition & 1 deletion src/julep/types/agents/tool_patch_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Integration(TypedDict, total=False):
method: Optional[str]

provider: Optional[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

setup: Optional[object]
Expand Down
2 changes: 1 addition & 1 deletion src/julep/types/agents/tool_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Function(TypedDict, total=False):

class Integration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down
8 changes: 2 additions & 6 deletions src/julep/types/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ class ContentToolFunction(BaseModel):


class ContentToolIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -159,9 +157,7 @@ class ContentUnionMember5ToolFunction(BaseModel):


class ContentUnionMember5ToolIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down
2 changes: 1 addition & 1 deletion src/julep/types/session_chat_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ToolFunction(TypedDict, total=False):

class ToolIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down
28 changes: 7 additions & 21 deletions src/julep/types/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@ class MainPromptStepOutputToolsUnionMember1CreateToolRequestFunction(BaseModel):


class MainPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -631,9 +629,7 @@ class MainIfElseWorkflowStepOutputThenPromptStepOutputToolsUnionMember1CreateToo


class MainIfElseWorkflowStepOutputThenPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -925,9 +921,7 @@ class MainIfElseWorkflowStepOutputElsePromptStepOutputToolsUnionMember1CreateToo


class MainIfElseWorkflowStepOutputElsePromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -1230,9 +1224,7 @@ class MainSwitchStepOutputSwitchThenPromptStepOutputToolsUnionMember1CreateToolR


class MainSwitchStepOutputSwitchThenPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -1534,9 +1526,7 @@ class MainForeachStepOutputForeachDoPromptStepOutputToolsUnionMember1CreateToolR


class MainForeachStepOutputForeachDoPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -1787,9 +1777,7 @@ class MainParallelStepOutputParallelPromptStepOutputToolsUnionMember1CreateToolR


class MainParallelStepOutputParallelPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down Expand Up @@ -2030,9 +2018,7 @@ class MainMainOutputMapPromptStepOutputToolsUnionMember1CreateToolRequestFunctio


class MainMainOutputMapPromptStepOutputToolsUnionMember1CreateToolRequestIntegration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down
14 changes: 7 additions & 7 deletions src/julep/types/task_create_or_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class MainPromptStepInputToolsUnionMember1CreateToolRequestFunction(TypedDict, t

class MainPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -651,7 +651,7 @@ class MainIfElseWorkflowStepInputThenPromptStepInputToolsUnionMember1CreateToolR
TypedDict, total=False
):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -946,7 +946,7 @@ class MainIfElseWorkflowStepInputElsePromptStepInputToolsUnionMember1CreateToolR
TypedDict, total=False
):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1248,7 +1248,7 @@ class MainSwitchStepInputSwitchThenPromptStepInputToolsUnionMember1CreateToolReq

class MainSwitchStepInputSwitchThenPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1545,7 +1545,7 @@ class MainForeachStepInputForeachDoPromptStepInputToolsUnionMember1CreateToolReq

class MainForeachStepInputForeachDoPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1798,7 +1798,7 @@ class MainParallelStepInputParallelPromptStepInputToolsUnionMember1CreateToolReq

class MainParallelStepInputParallelPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -2031,7 +2031,7 @@ class MainMainInputMapPromptStepInputToolsUnionMember1CreateToolRequestFunction(

class MainMainInputMapPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down
14 changes: 7 additions & 7 deletions src/julep/types/task_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ class MainPromptStepInputToolsUnionMember1CreateToolRequestFunction(TypedDict, t

class MainPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -649,7 +649,7 @@ class MainIfElseWorkflowStepInputThenPromptStepInputToolsUnionMember1CreateToolR
TypedDict, total=False
):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -944,7 +944,7 @@ class MainIfElseWorkflowStepInputElsePromptStepInputToolsUnionMember1CreateToolR
TypedDict, total=False
):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1246,7 +1246,7 @@ class MainSwitchStepInputSwitchThenPromptStepInputToolsUnionMember1CreateToolReq

class MainSwitchStepInputSwitchThenPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1543,7 +1543,7 @@ class MainForeachStepInputForeachDoPromptStepInputToolsUnionMember1CreateToolReq

class MainForeachStepInputForeachDoPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -1796,7 +1796,7 @@ class MainParallelStepInputParallelPromptStepInputToolsUnionMember1CreateToolReq

class MainParallelStepInputParallelPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down Expand Up @@ -2029,7 +2029,7 @@ class MainMainInputMapPromptStepInputToolsUnionMember1CreateToolRequestFunction(

class MainMainInputMapPromptStepInputToolsUnionMember1CreateToolRequestIntegration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down
4 changes: 1 addition & 3 deletions src/julep/types/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ class Function(BaseModel):


class Integration(BaseModel):
provider: Literal[
"dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"
]
provider: Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]

arguments: Optional[object] = None

Expand Down
2 changes: 1 addition & 1 deletion src/julep/types/tool_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Function(TypedDict, total=False):

class Integration(TypedDict, total=False):
provider: Required[
Literal["dummy", "dall-e", "duckduckgo", "hackernews", "weather", "wikipedia", "twitter", "webpage", "requests"]
Literal["dummy", "dalle_image_generator", "duckduckgo_search", "hacker_news", "weather", "wikipedia"]
]

arguments: Optional[object]
Expand Down