Chatbot
A chatbot is a component that responds to questions sent by users in chat format with answers in chat format.
By linking with resources built using external services, you can use chatbot functions and chatbot functions that utilize RAG.
Dialog Property
ID | String | Auto setting | |
---|---|---|---|
Width | Number String | 640 | |
Height | Number String | 480 | |
X | Number String | ||
Y | Number String | ||
Background color | String Color picker | ||
Line | Boolean | ・On ・Off | On |
Width | Number | 1 | |
Roundness size | Number | 0 | |
Color | String Color picker | #DDDDDD | |
Agent name colour | String Color picker | ||
Agent message color | String Color picker | ||
Agent message background color | String Color picker | ||
User name colour | String Color picker | ||
User message color | String Color picker | ||
User message background color | String Color picker | #BAD6F2 | |
Submit button color | String Color picker | ||
Message form input text color | String Color picker | ||
Message form background color | String Color picker | ||
Disclaimer Color | String Color picker | ||
Read only | True/False | ・On ・Off | Off |
Visible | True/False | ・On ・Off | On |
Agent name | String | Agent | |
User name | String | You | |
Agent avatar | String | https://template-ui-image.webperformer.jp/image/Chatbot-Agent_alpha.svg | |
User avatar | String | https://template-ui-image.webperformer.jp/image/Chatbot-User_alpha.svg | |
RAG | True/False | ・On ・Off | On |
Service name | Select | ・AWS Bedrock ・Azure Open AI ・GCP Vertex AI | AWS Bedrock |
AI settings | JSON | ||
AI credentials | String selection dialog | ||
System prompt | String | ||
Message form value | String | ||
Message form placeholder | String | ・Type your message… (default) ・Type your message… (English) ・メッセージを入力してください… (Japanese) | |
Number of message form rows | Number | 1 | |
Message | Tabular format | ・[{"role":"agent","content":"Hello! How can I help you today?"}] (Default)・ [{"role":"agent","content":"Hello! How can I help you today?"}] (English)・ [{"role":"agent","content":"こんにちは!今日はどんなことをお手伝いしましょうか?"}] (Japanese) | |
Disclaimer | String | • AI-generated. May contain errors. (Default) •AI-generated. May contain errors. (English) • AI 応答のため、誤りを含む可能性があります。 (Japanese) |
Action Property
Item | Property | Data Type | Option | Default Value |
---|---|---|---|---|
ID | id | string | Automatic setting | |
Width | width | number string | 640 | |
Height | height | number string | 480 | |
X | x | number string | ||
Y | y | number string | ||
Background Color | backgroundColor | string | ||
Line | border | boolean | ・true ・false | true |
Width | borderWidth | number | 1 | |
Rounded Size | roundedSize | number | 0 | |
Color | borderColor | string | #DDDDDD | |
Agent name colour | agentNameColor | string | ||
Agent Message Color | agentMessageColor | string | ||
Agent Message Background Color | agentMessageBackgroundColor | string | ||
User name color | userNameColor | string | ||
User message color | userMessageColor | string | ||
User message background color | userMessageBackgroundColor | string | #BAD6F2 | |
Submit button color | submitButtonColor | string | ||
Message form input text color | messageFormInputColor | string | ||
Message form background color | messageFormBackgroundColor | string | ||
Disclaimer Color | disclaimerColor | string | ||
Read only | readOnly | boolean | ・true ・false | false |
Visibility | boolean | ・true ・false | true | |
Agent name | agentName | string | Agent | |
User name | userName | string | You | |
Agent avatar | agentAvatar | string | https://template-ui-image.webperformer.jp/image/Chatbot-Agent_alpha.svg | |
User avatar | userAvatar | string | https://template-ui-image.webperformer.jp/image/Chatbot-User_alpha.svg | |
RAG | rag | boolean | ・true ・false | true |
Service name | serviceName | string | ・awsBedrock ・azureOpenAI ・gcpVertexAI | awsBedrock |
Message form value | messageFormValue | string | ||
Message form placeholder | messageFormPlaceholder | string | ・Type your message… (default) ・Type your message… (English) ・メッセージを入力してください… (Japanese) | |
Number of message form rows | messageFormRows | number | 1 | |
Message | messages | array of object | ・[{"role":"agent","content":"Hello! How can I help you today?"}] (Default)・ [{"role":"agent","content":"Hello! How can I help you today?"}] (English)・ [{"role":"agent","content":"こんにちは!今日はどんなことをお手伝いしましょうか?"}] (Japanese) | |
Disclaimer | disclaimer | string | • AI-generated. May contain errors. (Default) •AI-generated. May contain errors. (English) • AI 応答のため、誤りを含む可能性があります。 (Japanese) |
External Services
The following external services can be linked.
- AWS Bedrock
- Azure OpenAI
- GCP VertexAI
The combinations of retrievers and embedding models supported for each service are shown in the table below.
Service | Retriever | Embedding model |
---|---|---|
AWS Bedrock | Amazon Bedrock Knowledge Bases | No setup required |
Pinecone | Amazon Bedrock | |
Azure Open AI | Azure AI Search | Azure Open AI |
Pinecone | Azure Open AI | |
GCP Vertex AI | Vertex AI Vector Search | Vertex AI |
Pinecone | Vertex AI |
AI Settings Specifications
AI settings describe settings for using resources built with external services.
In addition, settings for controlling response content can be described as desired.
Please describe settings according to the specifications of the external services you use.
AWS Bedrock:
https://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-parameters.html
Azure OpenAI:
https://learn.microsoft.com/ja-jp/azure/ai-foundry/openai/reference
GCP Vertex AI:
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference?hl=ja#request
https://ai.google.dev/gemini-api/docs/safety-settings?hl=ja#javascript
https://cloud.google.com/vertex-ai/docs/general/googleapi-access-methods?hl=ja
Service | Pattern | Setting items (* indicates required fields) |
---|---|---|
AWS Bedrock | chat |
|
chat + rag Retriever:Amazon Bedrock Knowledge Bases |
|
|
chat + rag Retriever:Pinecone |
|
|
Azure OpenAI | chat |
|
chat+rag Retriever:Azure AI Search [Notes] The index structure should be designed as follows ・ id (String) => Retrievable, searchable ・ content (String) => Retrievable, searchable ・ content_vector (SingleCollection) => Searchable ・ metadata (ComplexType) 〇 source (String) => Retrievable, searchable 〇 chunk (String) => Searchable 〇 attributes (ComplexTypeCollection) ・ key (String) => Filterable ・ value (String) => Searchable |
|
|
chat+rag Retriever:Pinecone |
|
|
GCP Vertex AI | chat |
|
chat+rag Retriever:Vertex AI Vector Search |
|
|
chat+rag Retriever:Pinecone |
|
AI Credential File Specification
AI Credential files contain authentication information for using resources built by external services.
Services | Patterns | Setting items (* indicates required items) |
---|---|---|
AWS Bedrock | chat |
|
chat + rag Retriever:Amazon Bedrock Knowledge Bases |
|
|
chat + rag Retriever:Pinecone |
|
|
Azure OpenAI | chat |
|
chat+rag Retriever:Azure AI Search |
|
|
chat+rag Retriever:Pinecone |
|
|
GCP Vertex AI | chat |
|
chat+rag Retriever:Vertex AI Vector Search |
|
|
chat+rag Retriever:Pinecone |
|