Skip to content
New issue

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

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

Already on GitHub? # to your account

release: 1.60.0 #225

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 24, 2025

Automated Release PR

1.60.0 (2025-02-24)

Full Changelog: v1.59.0...v1.60.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

This update to version 1.60.0 introduces new document search interfaces: VectorDocSearch, TextOnlyDocSearch, and HybridDocSearch, replacing the older RecallOptions. The mmr_strength parameter has been removed from both the codebase and test cases, simplifying the session management system.

@stainless-app stainless-app bot merged commit f959e25 into main Feb 24, 2025
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next--components--sdk branch February 24, 2025 13:13
Copy link
Contributor Author

stainless-app bot commented Feb 24, 2025

Copy link

Walkthrough

This PR enhances session management by introducing new document search interfaces: VectorDocSearch, TextOnlyDocSearch, and HybridDocSearch, replacing the older RecallOptions. The version is updated to 1.60.0, with corresponding updates in the changelog. Additionally, the mmr_strength parameter is removed from relevant files and test cases, streamlining the codebase.

Changes

File(s) Summary
.release-please-manifest.json, package.json, src/version.ts Updated version to 1.60.0.
CHANGELOG.md Documented new API features for version 1.60.0.
src/resources/sessions.ts Introduced VectorDocSearch, TextOnlyDocSearch, and HybridDocSearch interfaces, replacing RecallOptions.
src/resources/agents/docs.ts, src/resources/users/docs.ts Removed mmr_strength parameter from DocSearchParams.
tests/api-resources/agents/docs.test.ts, tests/api-resources/users/docs.test.ts Removed mmr_strength parameter from test cases.
Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @bot + *your message*
Example: @bot Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @bot + *feedback*
Example: @bot Do not comment on `save_auth` function !

Comment on lines 175 to 177
* Body param:
*/
metadata_filter?: unknown;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing mmr_strength parameter from TextOnlyDocSearchRequest but keeping it in HybridDocSearchRequest creates inconsistency. Either both should have it or neither should.

📝 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.

Suggested change
* Body param:
*/
metadata_filter?: unknown;
* Body param:
*/
metadata_filter?: unknown;
mmr_strength?: number;

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants