Skip to content
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using
### Install Infinity client

```
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

### Run a vector search
Expand Down
2 changes: 1 addition & 1 deletion benchmark/remote_infinity/remote_query_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct InfinityClient {
transport->open();
CommonResponse response;
ConnectRequest request;
request.__set_client_version(36); // 0.7.0.dev5
request.__set_client_version(36); // 0.7.0.dev6
client->Connect(response, request);
session_id = response.session_id;
}
Expand Down
2 changes: 1 addition & 1 deletion client/cpp/infinity_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Client Client::Connect(const std::string &ip_address, uint16_t port) {
transport->open();
CommonResponse response;
ConnectRequest request;
request.__set_client_version(36); // 0.7.0.dev5
request.__set_client_version(36); // 0.7.0.dev6
client->Connect(response, request);
return {socket, transport, protocol, std::move(client), response.session_id};
}
Expand Down
6 changes: 3 additions & 3 deletions docs/getstarted/build_from_source.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ cmake --build . -t test_main

2. Install Python sdk of infinity:
```bash
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

3. Run the functional tests:
Expand All @@ -317,7 +317,7 @@ cmake --build . -t test_main

2. Install Python sdk of infinity:
```bash
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

3. Run the functional tests:
Expand All @@ -342,7 +342,7 @@ cmake --build . -t test_main

2. Install Python sdk of infinity:
```bash
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

3. Run the functional tests:
Expand Down
6 changes: 3 additions & 3 deletions docs/getstarted/deploy_infinity_server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This section provides instructions on deploying Infinity using binary package on

Fedora/RHEL/CentOS/OpenSUSE
```bash
sudo rpm -i infinity-0.7.0.dev5-x86_64.rpm
sudo rpm -i infinity-0.7.0.dev6-x86_64.rpm
```

```bash
Expand All @@ -46,7 +46,7 @@ sudo systemctl start infinity
<TabItem value="ubuntu">

```bash
sudo dpkg -i infinity-0.7.0.dev5-x86_64.deb
sudo dpkg -i infinity-0.7.0.dev6-x86_64.deb
```

```bash
Expand All @@ -59,7 +59,7 @@ sudo systemctl start infinity
## Install Infinity client

```
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

## Run a vector search
Expand Down
2 changes: 1 addition & 1 deletion docs/getstarted/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using
### Install Infinity client

```
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

### Run a vector search
Expand Down
4 changes: 2 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
The Python scripts in the current directory provides the examples of the infinity SDK API. Before running these scripts, please ensure that the correct version of infinity SDK is installed. If you are using the server version of Infinity, you can use the following command to install it

```shell
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

To use Infinity locally as a Python module, install the Infinity Embedded SDK:

```shell
pip install infinity-embedded-sdk==0.7.0.dev5
pip install infinity-embedded-sdk==0.7.0.dev6
```

Once the installation completes, run some simple examples:
Expand Down
2 changes: 1 addition & 1 deletion go/infinity.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

// ClientVersion is the version of this Go SDK client
// This should match the protocol version expected by the server
const ClientVersion = 36 // version: 0.7.0.dev5
const ClientVersion = 36 // version: 0.7.0.dev6

// Connect creates a new connection to Infinity
// This is a factory function that creates the appropriate connection type based on the URI
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 = "infinity-sdk"
version = "0.7.0.dev5"
version = "0.7.0.dev6"
description = "infinity"
readme = "python/infinity_sdk/README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion python/infinity_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Infinity supports two working modes, embedded mode and client-server mode. The f

2. Install the `infinity-sdk` package:
```bash
pip install infinity-sdk==0.7.0.dev5
pip install infinity-sdk==0.7.0.dev6
```

3. Use Infinity to conduct a dense vector search:
Expand Down
4 changes: 2 additions & 2 deletions python/infinity_sdk/infinity/remote_thrift/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def _reconnect(self):
# version: 0.6.8 and 0.6.9 and 0.6.10, client_version: 33
# version: 0.6.13, client_version: 34
# version: 0.6.15, client_version: 35
# version: 0.7.0, 0.7.0.dev1, 0.7.0.dev2, 0.7.0.dev3 and 0.7.0.dev4, 0.7.0.dev5, client_version: 36
res = self.client.Connect(ConnectRequest(client_version=36)) # 0.7.0.dev5
# version: 0.7.0, 0.7.0.dev1, 0.7.0.dev2, 0.7.0.dev3, 0.7.0.dev4, 0.7.0.dev5 and 0.7.0.dev6, client_version: 36
res = self.client.Connect(ConnectRequest(client_version=36)) # 0.7.0.dev6
if res.error_code != 0:
raise InfinityException(res.error_code, res.error_msg)
self.session_id = res.session_id
Expand Down
2 changes: 1 addition & 1 deletion src/network/infinity_thrift_service.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct ClientVersions {
export class InfinityThriftService final : public infinity_thrift_rpc::InfinityServiceIf {
private:
static constexpr std::string_view ErrorMsgHeader = "[THRIFT ERROR]";
static constexpr i64 current_version_index_{36}; // 0.7.0.dev5
static constexpr i64 current_version_index_{36}; // 0.7.0.dev6

static std::mutex infinity_session_map_mutex_;
static std::unordered_map<u64, std::shared_ptr<Infinity>> infinity_session_map_;
Expand Down
2 changes: 1 addition & 1 deletion src/network/infinity_thrift_service_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ ClientVersions::ClientVersions() {
client_version_map_[33] = std::string("0.6.10");
client_version_map_[34] = std::string("0.6.13");
client_version_map_[35] = std::string("0.6.15");
client_version_map_[36] = std::string("0.7.0.dev5");
client_version_map_[36] = std::string("0.7.0.dev6");
}

std::pair<const char *, Status> ClientVersions::GetVersionByIndex(i64 version_index) {
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.