mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-09 21:08:31 +02:00
Generate multiple code snippets from a single source file (#2146)
* Support generating multiple snippets from one source file * Convert Python code snippets from one source file * Add code snippets for C#, Go, Java, Rust and TS * Make intro less Python-oriented * Add client installation instructions for all languages * Cleanup python code --------- Co-authored-by: xzfc <xzfcpw@gmail.com>
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ points = []
|
||||
|
||||
for idx, item in enumerate(ds):
|
||||
passage = item["passage_text"]
|
||||
|
||||
|
||||
point = PointStruct(
|
||||
id=uuid.uuid4().hex, # use unique string ID
|
||||
payload=item,
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ points = []
|
||||
|
||||
for idx, item in enumerate(ds):
|
||||
passage = item["passage_text"]
|
||||
|
||||
|
||||
point = PointStruct(
|
||||
id=uuid.uuid4().hex, # use unique string ID
|
||||
payload=item,
|
||||
|
||||
Reference in New Issue
Block a user