mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-11 05:48:31 +02:00
Regenerate snippet .md files
Run `./generate-md.py` to update generated markdown files after semi-manual changes made in the previous commit. This commit serves as a gist of fixed issues found in snippets. (it's easier to review 250 lines diff rather than 31k lines diff, isn't it?)
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ var client = new QdrantClient("localhost", 6334);
|
||||
|
||||
await client.CreateCollectionAsync(
|
||||
collectionName: "{collection_name}",
|
||||
strictModeConfig: new StrictModeConfig { enabled = true, max_timeout = 10 }
|
||||
strictModeConfig: new StrictModeConfig { Enabled = true, MaxTimeout = 10 }
|
||||
);
|
||||
```
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ client.CreateCollection(context.Background(), &qdrant.CreateCollection{
|
||||
CollectionName: "{collection_name}",
|
||||
StrictModeConfig: &qdrant.StrictModeConfig{
|
||||
Enabled: qdrant.PtrOf(true),
|
||||
MaxTimeout: qdrant.PtrOf(uint64(10)),
|
||||
MaxTimeout: qdrant.PtrOf(uint32(10)),
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
import io.qdrant.client.QdrantClient;
|
||||
import io.qdrant.client.QdrantGrpcClient;
|
||||
import io.qdrant.client.grpc.Collections.CreateCollection;
|
||||
import io.qdrant.client.grpc.Collections.StrictModeCOnfig;
|
||||
import io.qdrant.client.grpc.Collections.StrictModeConfig;
|
||||
|
||||
QdrantClient client =
|
||||
new QdrantClient(QdrantGrpcClient.newBuilder("localhost", 6334, false).build());
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ let client = Qdrant::from_url("http://localhost:6334").build()?;
|
||||
client
|
||||
.create_collection(
|
||||
CreateCollectionBuilder::new("{collection_name}")
|
||||
.strict_config_mode(StrictModeConfigBuilder::default().enabled(true).max_timeout(10)),
|
||||
.strict_mode_config(StrictModeConfigBuilder::default().enabled(true).max_timeout(10)),
|
||||
)
|
||||
.await?;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user