Fix API call to create connector in ml-commons->conversational-search->rag-pipeline (#5614)
* Update conversational-search.md Signed-off-by: Kalyan <kalyan.ben10@live.com> * Update conversational-search.md Signed-off-by: Kalyan <kalyan.ben10@live.com> * fix connector create json Signed-off-by: kalyanr <kalyan.ben10@live.com> --------- Signed-off-by: Kalyan <kalyan.ben10@live.com> Signed-off-by: kalyanr <kalyan.ben10@live.com>
This commit is contained in:
parent
bb269db70b
commit
72ef804197
|
@ -255,7 +255,7 @@ Use the following steps to set up an HTTP connector using the OpenAI GPT 3.5 mod
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"protocol": "http",
|
"protocol": "http",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"endpoint": "[api.openai.com](http://api.openai.com/)",
|
"endpoint": "api.openai.com",
|
||||||
"model": "gpt-3.5-turbo",
|
"model": "gpt-3.5-turbo",
|
||||||
"temperature": 0
|
"temperature": 0
|
||||||
},
|
},
|
||||||
|
@ -266,7 +266,7 @@ Use the following steps to set up an HTTP connector using the OpenAI GPT 3.5 mod
|
||||||
{
|
{
|
||||||
"action_type": "predict",
|
"action_type": "predict",
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"url": "[https://$](https://%24/){parameters.endpoint}/v1/chat/completions",
|
"url": "https://${parameters.endpoint}/v1/chat/completions",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer ${credential.openAI_key}"
|
"Authorization": "Bearer ${credential.openAI_key}"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue