Commit Graph
11 Commits
Author SHA1 Message Date
xzfc 74a785218b Fix type-checking errors in snippets (code only, no .md)
This commit both:
- Fixes pre-existing mistakes in snippets, aka wrong code samples.
- Adds hidden (`@hide`) statements that do not appear in the docs,
  but satisfy typecheckers.
2025-11-28 22:02:07 +00:00
xzfc 00896acb28 Automated snippet conversion by scripts
These changes are purely mechanical to differentiate them from manual
fixes/adjustments made in the next commit.
This results in broken code as some snippets contain errors.

Made in four steps:
1. Run ./migrate-snippet.py that converts `.md` files to code files
   and perhaps adds missing lines under `// @hide` comments.
2. Sort Java imports.
3. Remove old `.md` files.
4. Run ./generate.md to produce `*/generated/*.md` files.
2025-11-28 22:00:47 +00:00
Anush008 71ec1b2841 docs: C# snippets
Signed-off-by: Anush008 <anushshetty90@gmail.com>
2025-11-14 17:42:18 +05:30
Anush008 651b209c20 docs: Java snippets
Signed-off-by: Anush008 <anushshetty90@gmail.com>
2025-11-14 16:13:15 +05:30
Anush008 25cde63d21 docs: Go snippets
Signed-off-by: Anush008 <anushshetty90@gmail.com>
2025-11-14 14:04:54 +05:30
Anush 5567924e97 docs: Added more snippets to the hybrid search with cloud inference tutorial (#1953)
* docs: More snippets

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* docs: Review update

Signed-off-by: Anush008 <anushshetty90@gmail.com>

---------

Signed-off-by: Anush008 <anushshetty90@gmail.com>
2025-10-21 18:35:04 +05:30
5eff7dfc24 Cloud inference example (#1768)
* Cloud inference example

* Cloud inference example

* update URL

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Update qdrant-landing/content/documentation/examples/cloud-inference-hybrid-search.md

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>

* Move cloud inference tutorial

* move below support

* rename folder

* update cloud example

* update cloud example

* update cloud example

* update cloud example

* update cloud example

* update cloud example

* update cloud example

* update cloud example

* Link inference docs

* Link inference docs

* Create collection snippet

* Create snippets

* Create snippets

* Create snippets

* Create snippets

* Create snippets

* Create snippets

* Create snippets

* Create snippets

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/upload-data/python.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/tutorials-and-examples/cloud-inference-hybrid-search.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/tutorials-and-examples/_index.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/upload-data/python.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/tutorials-and-examples/cloud-inference-hybrid-search.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/run-vector-search/python.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/tutorials-and-examples/cloud-inference-hybrid-search.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/initialize-client/_description.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/run-vector-search/_description.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/create-sample-query/python.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/headless/snippets/cloud-inference/vector-search/create-collection/python.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>

* Update qdrant-landing/content/documentation/tutorials-and-examples/cloud-inference-hybrid-search.md

---------

Co-authored-by: Bastian Hofmann <mail@bastianhofmann.de>
Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
2025-07-15 14:08:37 +03:00
Bastian Hofmann efa37e545b Small typo, grammar and style fixes 2025-07-15 11:55:48 +02:00
generall 6ae287b12b add image examples and update docs 2025-07-15 02:10:35 +02:00
generall 305e6969d7 update snippets and descpription 2025-07-15 00:53:26 +02:00
Bastian Hofmann 6cac0e2e79 Extract code examples into snippets 2025-07-14 16:56:53 +02:00