Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadc3561

Browse files
Update semantic-search-1.md (#1435)
1 parent5b532fb commitadc3561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎pgml-cms/docs/api/client-sdk/tutorials/semantic-search-1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ description: Example for Semantic Search
66

77
This tutorial demonstrates using the`pgml` SDK to create a collection, add documents, build a pipeline for vector search, make a sample query, and archive the collection when finished. In this tutorial we use[hkunlp/instructor-base](https://huggingface.co/hkunlp/instructor-base), a more advanced embeddings model that takes parameters when doing embedding and recall.
88

9-
[Link to full JavaScript implementation](../../../../../pgml-sdks/pgml/javascript/examples/question\_answering.js)
9+
[Link to full JavaScript implementation](https://github.com/postgresml/postgresml/blob/master/pgml-sdks/pgml/javascript/examples/question_answering.js)
1010

11-
[Link to full Python implementation](../../../../../pgml-sdks/pgml/python/examples/question\_answering.py)
11+
[Link to full Python implementation](https://github.com/postgresml/postgresml/blob/master/pgml-sdks/pgml/python/examples/question_answering.py)
1212

1313
##Imports and Setup
1414

1515
The SDK is imported and environment variables are loaded.
1616

1717
{% tabs %}
18-
{% tab title="JavasScript" %}
18+
{% tab title="JavaScript" %}
1919
```js
2020
constpgml=require("pgml");
2121
require("dotenv").config();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp