Skip to content

Comments

Update/qdrant 1.15.x#18

Open
marinac-dev wants to merge 6 commits intomasterfrom
update/qdrant-1.15.x
Open

Update/qdrant 1.15.x#18
marinac-dev wants to merge 6 commits intomasterfrom
update/qdrant-1.15.x

Conversation

@marinac-dev
Copy link
Owner

  • Refactor Tesla implementation
  • Improve support for Qdrant HTTP API
  • Dump deps and elixir version
  • Mock tests setup

- Updated version in mix.exs to 0.1.0.
- Upgraded dependencies: ex_doc to 0.39.1, tesla to 1.15.3, jason to 1.4.4, mox to 1.2.0, and excoveralls to 0.18.5.
- Added new configuration module for Qdrant client to handle application settings and environment variables.
- Enhanced API wrapper to support interface configuration.
- Improved HTTP client with updated middleware and query parameter handling.
…Service

- Added `Qdrant.Api.Http.Aliases` for managing collection aliases with functions to update and retrieve aliases.
- Introduced `Qdrant.Api.Http.Indexes` for creating and deleting field indexes in collections.
- Implemented `Qdrant.Api.Http.Snapshots` for handling collection snapshots, including listing, creating, and recovering from snapshots.
- Created `Qdrant.Api.Http.Service` for service-related endpoints, including health checks, telemetry, and metrics.
- Refactored existing modules to improve consistency and maintainability.
- Updated module documentation to clarify the purpose of the Qdrant client.
- Added new functions: `collection_exists/1` to check for collection existence and `update_collection/2` to modify collection parameters.
- Refactored `collection_info/1` to use the correct API call.
- Modified `delete_points/3` to include additional parameters for wait and ordering guarantees.
- Introduced `require_api_key` option to determine if an API key is mandatory for connections.
- Updated documentation to clarify the behavior of API key requirements, especially for Qdrant Cloud.
- Refactored `get_api_key` and added `require_api_key?` function to streamline API key retrieval and validation.
- Modified HTTP client to utilize a configurable adapter for requests.
- Updated Elixir and Erlang versions in .tool-versions.
- Added .env and .envrc to .gitignore to prevent sensitive files from being tracked.
- Introduced `test_ignore_filters` in mix.exs for better test management.
- Added `mint` and `finch` dependencies for improved HTTP client capabilities.
- Enhanced README with detailed configuration instructions for local and cloud setups, including environment variable options.
…drant module

- Introduced `get_collection/1` to retrieve detailed information about a specified collection.
- Added `query_points/2` to perform queries on points using a query string or vector query, with detailed documentation and examples for usage.
- Enhanced module documentation to reflect these new functionalities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant