-
Notifications
You must be signed in to change notification settings - Fork 2
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.72.0 #326
release: 1.72.0 #326
Conversation
🤖 Release is at /~https://github.com/julep-ai/python-sdk/releases/tag/v1.72.0 🌻 |
WalkthroughThe pull request updates the Julep Python SDK from version 1.71.0 to 1.72.0, reflecting API and internal structure changes. Key modifications include the removal of the Changes
Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
|
|
||
tools: Iterable[Tool] | ||
tools: Optional[Iterable[Tool]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tools
field in SessionChatParams
was changed from Required[Iterable[Tool]]
to Optional[Iterable[Tool]]
which could cause runtime errors if tools are expected to be present but are missing.
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
tools: Iterable[Tool] | |
tools: Optional[Iterable[Tool]] | |
tools: Required[Iterable[Tool]] |
mode: str | ||
|
||
num_search_messages: int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging all recall option types into a single RecallOptions
class allows invalid combinations of fields that were previously prevented by the type system. For example, mmr_strength
is only valid for vector search.
📝 Committable Code Suggestion
‼️ Ensure you review the code suggestion before committing it to the branch. Make sure it replaces the highlighted code, contains no missing lines, and has no issues with indentation.
mode: str | |
num_search_messages: int | |
class VectorRecallOptions(TypedDict, total=False): | |
mmr_strength: float | |
class TextRecallOptions(TypedDict, total=False): | |
alpha: float | |
confidence: float | |
lang: str | |
limit: int | |
max_query_length: int | |
metadata_filter: object | |
mode: str | |
num_search_messages: int |
Automated Release PR
1.72.0 (2025-03-01)
Full Changelog: v1.71.0...v1.72.0
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
EntelligenceAI PR Summary
The Julep Python SDK has been updated from version
1.71.0
to1.72.0
, incorporating API and structural changes. Key updates include the removal of themessage_param
module, now integrated intosession_chat_params
, and a simplification of theRecallOptions
type across multiple files. Test cases have been adjusted for compatibility, and documentation such as the changelog and OpenAPI specification has been updated to reflect these changes.