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 fern/pages/api-summary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Qdrant is a [vector database](https://qdrant.tech/documentation/overview/) and a

1. First, you should create a [collection](/api-reference/collections/create-collection) to store all your data.
2. Then upsert data [points](/api-reference/points/upsert-points) and enrich them with a custom [payload](/api-reference/points/set-payload).
3. With a full collection, run a [search](/api-reference/search/points) to find relevant results.
3. With a full collection, run a [search](/api-reference/search/query-points) to find relevant results.
4. Collections can be [snapshotted, downloaded and restored](/api-reference/snapshots/list-snapshots).
5. When ready, setup a [distributed system](/api-reference/distributed/create-shard-key) for production.

Expand Down
8 changes: 7 additions & 1 deletion tools/generate_snippet_overwrites.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
'curl': '.sh',
}

SDK_ORDER = ['java', 'python', 'typescript', 'curl', 'csharp', 'go', 'rust']


def parse_openapi_spec(path: str):
"""
Expand Down Expand Up @@ -131,7 +133,11 @@ def main():



all_sdks = [sdk.split('/')[-1] for sdk in glob.glob("snippets/*")]
# Fixed order matches the committed overrides; glob order is filesystem-dependent.
all_sdks = sorted(
(sdk.split('/')[-1] for sdk in glob.glob("snippets/*")),
key=lambda sdk: (SDK_ORDER.index(sdk) if sdk in SDK_ORDER else len(SDK_ORDER), sdk),
)

overwrites = defaultdict(lambda: defaultdict(dict))

Expand Down
Loading