Flowise/packages/components/nodes/chatmodels/ChatNemoGuardrails
patrickreinan 5117948ccf
Added NeMo Guardrails Chat component (#3331)
* added: nemoguardrails chat component

* fix: removed options argument from init

fix: generation text has been updated with content string

* fix: lint error fixed

* fix: error when get content

* fix: lint errors

* updated: added handleLLMNewToken for ChatNemoGuardrails

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>
2024-10-17 01:59:10 +01:00
..
ChatNemoGuardrails.ts Added NeMo Guardrails Chat component (#3331) 2024-10-17 01:59:10 +01:00
NemoClient.ts Added NeMo Guardrails Chat component (#3331) 2024-10-17 01:59:10 +01:00
nemo.svg Added NeMo Guardrails Chat component (#3331) 2024-10-17 01:59:10 +01:00
readme.md Added NeMo Guardrails Chat component (#3331) 2024-10-17 01:59:10 +01:00

readme.md

Parameters:

config_id baseUrl

/v1/chat/completions
{
    "config_id": "bedrock",
    "messages": [{
      "role":"user",
      "content":"Hello! What can you do for me?"
    }]
}