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

Commitae623f3

Browse files
committed
singularize paths
1 parent7232b21 commitae623f3

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ SELECT pgml.transform(
108108
```
109109

110110
##Tabular data
111-
-[47+ classification and regression algorithms](https://postgresml.org/docs/introduction/apis/sql-extensions/pgml.train/)
111+
-[47+ classification and regression algorithms](https://postgresml.org/docs/introduction/apis/sql-extension/pgml.train/)
112112
-[8 - 40X faster inference than HTTP based model serving](https://postgresml.org/blog/postgresml-is-8x-faster-than-python-http-microservices)
113113
-[Millions of transactions per second](https://postgresml.org/blog/scaling-postgresml-to-one-million-requests-per-second)
114114
-[Horizontal scalability](https://github.com/postgresml/pgcat)

‎pgml-apps/pgml-chat/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ A command line tool to build and deploy a **_knowledge based_** chatbot using Po
33

44
There are two stages in building a knowledge based chatbot:
55
- Build a knowledge base by ingesting documents, chunking documents, generating embeddings and indexing these embeddings for fast query
6-
- Generate responses to user queries by retrieving relevant documents and generating responses using OpenAI and[OpenSourceAI API](https://postgresml.org/docs/introduction/apis/client-sdks/opensourceai)
6+
- Generate responses to user queries by retrieving relevant documents and generating responses using OpenAI and[OpenSourceAI API](https://postgresml.org/docs/introduction/apis/client-sdk/opensourceai)
77

88
This tool automates the above two stages and provides a command line interface to build and deploy a knowledge based chatbot.
99

‎pgml-cms/blog/using-postgresml-with-django-and-embedding-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PostgresML allows anyone to integrate advanced AI capabilities into their applic
2828

2929
Advanced search engines like Google use this technique to extract the meaning of search queries and rank the results based on what the user actually_wants_, unlike simple keyword matches which can easily give irrelevant results.
3030

31-
To accomplish this, for each document in our app, we include an embedding column stored as a vector. A vector is just an array of floating point numbers. For each item in our to-do list, we automatically generate the embedding using the PostgresML[`pgml.embed()`](https://postgresml.org/docs/introduction/apis/sql-extensions/pgml.embed) function. This function runs inside the database and doesn't require the Django app to install the model locally.
31+
To accomplish this, for each document in our app, we include an embedding column stored as a vector. A vector is just an array of floating point numbers. For each item in our to-do list, we automatically generate the embedding using the PostgresML[`pgml.embed()`](https://postgresml.org/docs/introduction/apis/sql-extension/pgml.embed) function. This function runs inside the database and doesn't require the Django app to install the model locally.
3232

3333
An embedding model running inside PostgresML is able to extract the meaning of search queries & compare it to the meaning of the documents it stores, just like a human being would if they were able to search millions of documents in just a few milliseconds.
3434

‎pgml-cms/docs/api/client-sdk/document-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Document Search
22

3-
SDK is specifically designed to provide powerful, flexible document search.`Pipeline`s are required to perform search. See the[Pipelines](https://postgresml.org/docs/introduction/apis/client-sdks/pipelines) for more information about using`Pipeline`s.
3+
SDK is specifically designed to provide powerful, flexible document search.`Pipeline`s are required to perform search. See the[Pipelines](https://postgresml.org/docs/introduction/apis/client-sdk/pipelines) for more information about using`Pipeline`s.
44

55
This section will assume we have previously ran the following code:
66

@@ -120,7 +120,7 @@ Just like `vector_search`, `search` takes in two arguments. The first is a `JSON
120120

121121
Lets break this query down a little bit more. We are asking for a maximum of 10 documents ranked by`full_text_search` on the`abstract` and`semantic_search` on the`abstract` and`body`. We are also filtering out all documents that do not have the key`user_id` equal to`1`. The`full_text_search` provides a score for the`abstract`, and`semantic_search` provides scores for the`abstract` and the`body`. The`boost` parameter is a multiplier applied to these scores before they are summed together and sorted by`score``DESC`. 
122122

123-
The`filter` is structured the same way it is when performing`vector_search` see[filtering with vector\_search](https://postgresml.org/docs/introduction/apis/client-sdks/search)[](https://postgresml.org/docs/introduction/apis/client-sdks/search#metadata-filtering)for more examples on filtering documents.
123+
The`filter` is structured the same way it is when performing`vector_search` see[filtering with vector\_search](https://postgresml.org/docs/introduction/apis/client-sdk/search)[](https://postgresml.org/docs/introduction/apis/client-sdk/search#metadata-filtering)for more examples on filtering documents.
124124

125125
##Fine-Tuning Document Search
126126

‎pgml-cms/docs/api/client-sdk/pipelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ pipeline = Pipeline("test_pipeline")
212212

213213
There are two different forms of search that can be done after adding a`Pipeline` to a`Collection` 
214214

215-
*[Vector Search](https://postgresml.org/docs/introduction/apis/client-sdks/search)
216-
*[Document Search](https://postgresml.org/docs/introduction/apis/client-sdks/document-search)
215+
*[Vector Search](https://postgresml.org/docs/introduction/apis/client-sdk/search)
216+
*[Document Search](https://postgresml.org/docs/introduction/apis/client-sdk/document-search)
217217

218218
See their respective pages for more information on searching.
219219

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Vector Search
22

3-
SDK is specifically designed to provide powerful, flexible vector search.`Pipeline`s are required to perform search. See[Pipelines](https://postgresml.org/docs/introduction/apis/client-sdks/pipelines)for more information about using`Pipeline`s.
3+
SDK is specifically designed to provide powerful, flexible vector search.`Pipeline`s are required to perform search. See[Pipelines](https://postgresml.org/docs/introduction/apis/client-sdk/pipelines)for more information about using`Pipeline`s.
44

55
This section will assume we have previously ran the following code:
66

‎pgml-cms/docs/api/sql-extension/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PostgresML integrates [🤗 Hugging Face Transformers](https://huggingface.co/tr
1313

1414
*[pgml.embed.md](pgml.embed.md"mention") returns vector embeddings for nearest neighbor searches and other vector database use cases
1515
*[pgml.generate.md](pgml.generate.md"mention") returns streaming text responses for chatbots
16-
*[pgml.transform](../../introduction/apis/sql-extensions/pgml.transform"mention") allows you to perform dozens of natural language processing (NLP) tasks with thousands of models, like sentiment analysis, question and answering, translation, summarization and text generation
16+
*[pgml.transform](../../introduction/apis/sql-extension/pgml.transform"mention") allows you to perform dozens of natural language processing (NLP) tasks with thousands of models, like sentiment analysis, question and answering, translation, summarization and text generation
1717
*[pgml.tune.md](pgml.tune.md"mention") fine tunes an open source model on your own data
1818

1919
##Train & deploy your own models
@@ -34,7 +34,7 @@ SELECT pgml.train(
3434
);
3535
```
3636

37-
See[pgml.train](../../introduction/apis/sql-extensions/pgml.train"mention") for more information.
37+
See[pgml.train](../../introduction/apis/sql-extension/pgml.train"mention") for more information.
3838

3939
###Deploy
4040

@@ -66,4 +66,4 @@ FROM new_sales
6666
ORDER BY predictionDESC;
6767
```
6868

69-
See[pgml.predict](../../introduction/apis/sql-extensions/pgml.predict"mention") for more information.
69+
See[pgml.predict](../../introduction/apis/sql-extension/pgml.predict"mention") for more information.

‎pgml-cms/docs/api/sql-extension/pgml.predict/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ LIMIT 25;
5151

5252
###Classification Example
5353

54-
If you've already been through the[pgml.train](../../../introduction/apis/sql-extensions/pgml.train"mention") examples, you can see the predictive results of those models:
54+
If you've already been through the[pgml.train](../../../introduction/apis/sql-extension/pgml.train"mention") examples, you can see the predictive results of those models:
5555

5656
```sql
5757
SELECT

‎pgml-cms/docs/api/sql-extension/pgml.train/clustering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ LIMIT 10;
2727

2828
##Algorithms
2929

30-
All clustering algorithms implemented by PostgresML are online versions. You may use the[pgml.predict](../../../introduction/apis/sql-extensions/pgml.predict"mention")function to cluster novel datapoints after the clustering model has been trained.
30+
All clustering algorithms implemented by PostgresML are online versions. You may use the[pgml.predict](../../../introduction/apis/sql-extension/pgml.predict"mention")function to cluster novel datapoints after the clustering model has been trained.
3131

3232
| Algorithm| Reference|
3333
| ----------------------| -----------------------------------------------------------------------------------------------------------------|

‎pgml-cms/docs/use-cases/chatbots/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ while True:
273273
```
274274

275275
{% hint style="info"%}
276-
We are utilizing the OpenSourceAIclassin our pgml library. Thisis actually a dropin replacementfor OpenAI. [Find the docs here](https://postgresml.org/docs/introduction/apis/client-sdks/opensourceai).
276+
We are utilizing the OpenSourceAIclassin our pgml library. Thisis actually a dropin replacementfor OpenAI. [Find the docs here](https://postgresml.org/docs/introduction/apis/client-sdk/opensourceai).
277277
{% endhint%}
278278

279279
This program let's us have conversations like the following:
@@ -289,7 +289,7 @@ You just asked me what my name is, and I am a friendly and helpful chatbot named
289289
Note that we have alist of dictionaries called`history` we use to store the chat history,and instead of feeding text into our model, we are inputting the`history`list. Our library automatically converts thislist of dictionaries into theformat expected by the model. Notice the`roles`in the dictionaries are the sameas the`roles` of the messagesin the previous example. Thislist of dictionarieswith keys`role`and`content`as a storage systemfor messagesis pretty standardand used by usas wellas OpenAIand HuggingFace.
290290

291291
{% hint style="info"%}
292-
Once again we are using`pgml` to abstract away the complicated piecesfor our machine learning task. This isn't a guide on how to use our libraries, but for more information [check out our docs](https://postgresml.org/docs/introduction/apis/client-sdks/getting-started).
292+
Once again we are using`pgml` to abstract away the complicated piecesfor our machine learning task. This isn't a guide on how to use our libraries, but for more information [check out our docs](https://postgresml.org/docs/introduction/apis/client-sdk/getting-started).
293293
{% endhint%}
294294

295295
Our search returned the exact section of the Wikipedia article we wanted! Let's talk a little bit about what is going on here.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp