generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rft-more-linting' of https://github.com/gohypermode/docs …
…into rft-more-linting
- Loading branch information
Showing
13 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"MD013": false, | ||
"MD033": false | ||
} | ||
"MD013": false, | ||
"MD033": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ Connection APIs allow you to securely access an API endpoint at a defined host. | |
<Tip>We're introducing new APIs consistently through ongoing development with build partners. [Let's chat](mailto:[email protected]) about what would make the Functions SDK even more powerful for your next use case!</Tip> | ||
|
||
### invokeGraphqlApi | ||
|
||
Make a query or mutation against a GraphQL API endpoint. | ||
|
||
```TypeScript | ||
|
@@ -28,4 +29,4 @@ invokeGraphqlApi ( | |
|
||
<ResponseField name="variables" type="string"> | ||
Optional variables added to the query. | ||
</ResponseField> | ||
</ResponseField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ Console APIs allow you to interact with the Hypermode Console. | |
<Tip>We're introducing new APIs consistently through ongoing development with build partners. [Let's chat](mailto:[email protected]) about what would make the Functions SDK even more powerful for your next use case!</Tip> | ||
|
||
### log | ||
|
||
Generate a log message for debugging at runtime. | ||
|
||
```TypeScript | ||
|
@@ -23,4 +24,4 @@ log ( | |
|
||
<ResponseField name="level" type="string"> | ||
Severity of log message, one of `info` (default), `error`, `warning` or `debug`. | ||
</ResponseField> | ||
</ResponseField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ Inference APIs allow you to invoke AI models defined in your project's [manifest | |
<Tip>We're introducing new APIs consistently through ongoing development with build partners. [Let's chat](mailto:[email protected]) about what would make the Functions SDK even more powerful for your next use case!</Tip> | ||
|
||
### generateText | ||
|
||
Invoke a generative AI model with an instruction and prompt, resulting in a text response. | ||
|
||
```TypeScript | ||
|
@@ -31,6 +32,7 @@ generateText ( | |
</ResponseField> | ||
|
||
### computeClassificationLabels | ||
|
||
Invoke a fine-tuned classification model with a text input, resulting in an array of labels and probabilities. | ||
|
||
```TypeScript | ||
|
@@ -49,12 +51,13 @@ computeClassificationLabels ( | |
</ResponseField> | ||
|
||
### embedText | ||
|
||
Invoke an embedding model with a text input, resulting in a vector embedding. | ||
|
||
```TypeScript | ||
embedText ( | ||
modelName: string, | ||
text: string, | ||
text: string, | ||
): number | ||
``` | ||
|
||
|
@@ -64,4 +67,4 @@ embedText ( | |
|
||
<ResponseField name="text" type="string" required> | ||
Text input for embedding. | ||
</ResponseField> | ||
</ResponseField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ description: '' | |
|
||
<Tip>We're introducing new APIs consistently through ongoing development with build partners. [Let's chat](mailto:[email protected]) about what would make the Functions SDK even more powerful for your next use case!</Tip> | ||
|
||
The [embedText](/sdk/inference#embedtext) API creates text embeddings for use in semantic similarity search use cases. | ||
The [embedText](/sdk/inference#embedtext) API creates text embeddings for use in semantic similarity search use cases. |