Added WatsonX.md and made some minor changes
This commit is contained in:
parent
812f73fd05
commit
349e0d787e
4 changed files with 8 additions and 11 deletions
|
|
@ -167,7 +167,7 @@ class WatsonX extends BaseLLM {
|
|||
body: JSON.stringify({
|
||||
"input": messages[messages.length - 1].content,
|
||||
"parameters": {
|
||||
"decoding_method": "greedykugi",
|
||||
"decoding_method": "greedy",
|
||||
"max_new_tokens": options.maxTokens ?? 1024,
|
||||
"min_new_tokens": 1,
|
||||
"stop_sequences": [],
|
||||
|
|
|
|||
BIN
docs/docs/reference/Model Providers/assets/Watsonx1.gif
Normal file
BIN
docs/docs/reference/Model Providers/assets/Watsonx1.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
|
|
@ -4,14 +4,12 @@ Watsonx, developed by IBM, offers a variety of pre-trained AI foundation models
|
|||
|
||||
## Setup
|
||||
|
||||
To access the Watsonx models first create an instance in the [IBM cloud]() which supports watsonx studio.
|
||||
To access the Watsonx models, create an instance in the [IBM cloud](https://cloud.ibm.com) which supports watsonx studio. Then to create a project refer [this](https://www.ibm.com/docs/en/watsonx/saas?topic=projects-creating-project).
|
||||
|
||||
You can set it up in two different ways :
|
||||
1. Using API key
|
||||
2. Using Credentials
|
||||
|
||||
## Useage
|
||||
1. **Using API** : Create Your IBM cloud API key by referring [this](https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=cli-creating-your-cloud-api-key).
|
||||
2. **Using Credentials** : Use your Username and Password to authenticate
|
||||
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||

|
||||
|
|
@ -515,8 +515,7 @@ After it's up and running, you can start using Continue.`,
|
|||
refPage: "watsonX",
|
||||
description:
|
||||
"Explore foundation models from IBM and other third-parties depending on your use case.",
|
||||
longDescription: `Watsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.
|
||||
[Steps to setup WatsonX provider](watsonx.md) `,
|
||||
longDescription: `Watsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.`,
|
||||
collectInputFor: [
|
||||
{
|
||||
inputType: "text",
|
||||
|
|
@ -547,7 +546,7 @@ After it's up and running, you can start using Continue.`,
|
|||
{
|
||||
inputType: "text",
|
||||
key: "watsonxUsername",
|
||||
label: "WatsonX username",
|
||||
label: "WatsonX Username",
|
||||
placeholder: "Enter your Username",
|
||||
required: true,
|
||||
isWatsonxAuthenticatedByCredentials: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue