Conversation
- Remove the deprecated Engine::builder() method from the Engine struct - Update all examples to use EngineBuilder::new() instead of Engine::builder() - Update import statements to remove Engine from client module exports - Update documentation examples to reflect the new EngineBuilder usage - Update README.md to remove Engine from the import statement
- Change Python Engine.index() to return IndexResult instead of doc_id string - Add new PyIndexResult and PyIndexItem classes for better indexing feedback - Update Python examples to handle IndexResult and extract doc_id - Introduce QueryContext for structured query parameters - Rename Python list_docs() method to list() for consistency - Remove deprecated len() method from Python Engine - Update README and all Rust examples to use new API patterns - Replace direct doc_id parameter with QueryContext in query methods
…lder BREAKING CHANGE: Split the combined model and API key configuration into separate methods. The `with_model` method now only accepts the model name without an optional API key. The API key must be set using the new `with_key` method or through environment variables. Examples updated to reflect the new API: - `with_openai` replaced with `with_key` - `with_model` no longer accepts API key parameter The builder methods are now: - `with_model(name)` - sets only the model name - `with_key(key)` - sets only the API key - `with_endpoint(url)` - sets the API endpoint
- Remove CONFIG_FILE_NAMES constant that was no longer used - Remove find_config_file method which searched for config files in current and parent directories - Update documentation example to use with_key instead of with_openai - Remove automatic config file loading from parent directories
BREAKING CHANGE: Removed ClientContext module and related functionality from client operations. The query_with_context method has been removed and replaced with simpler query method that uses direct RetrieveOptions. This change simplifies the client API by removing the request-scoped configuration and state management that was previously provided by ClientContext, including features like timeout handling, priority settings, and configuration overrides.
- Remove batch_processing.rs example file containing extensive markdown documentation samples and batch processing demonstration code - Remove session.rs example file with multi-document operations demonstration - Update Cargo.toml to remove corresponding example entries for batch_processing and session - Remove unused session module from client module imports
Change visibility modifiers from `pub` to `pub(crate)` for internal traits and structs that should not be exposed outside the crate: - EventHandler and AsyncEventHandler traits - IndexHandler, QueryHandler, and WorkspaceHandler type aliases - IndexSource enum - IndexerClient, ValidationResult structs - RetrieverClient, RetrieverClientConfig, NodeContext structs - WorkspaceClient, WorkspaceClientConfig, WorkspaceStats structs This maintains encapsulation and prevents external usage of implementation details.
BREAKING CHANGE: Configuration module is now internal and no longer publicly exported. Users should configure vectorless through EngineBuilder methods instead of direct configuration file loading. - Change config module visibility from public to private - Remove public re-exports of config types and loaders - Update module documentation to reflect new usage pattern - Convert public exports to private (pub(crate)) exports - Remove detailed configuration API documentation from module level
Removed the following example files that were no longer needed: - examples/rust/content_aggregation.rs - examples/rust/custom_pilot.rs - examples/rust/document_graph.rs - examples/rust/feedback_learning.rs - examples/rust/index.rs These examples were demonstrating functionality that has been refactored or are no longer part of the current codebase structure.
- Change `with_async_handler` method visibility from public to crate-private - Remove unused `source()` method from IndexContext
- Move DocumentFormat re-export to client module - Remove direct parser module exports from crate root - Keep parser module internal while maintaining necessary type access BREAKING CHANGE: Parser types are no longer directly accessible from crate root and must be accessed through their respective modules.
- Add From<&str> implementation for IndexContext to enable conversion from string slices - Add From<String> implementation for IndexContext to enable conversion from owned strings - Update README.md to use new logo image with title The new implementations provide more flexible input handling for IndexContext while maintaining existing functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.