- 0.87.0 (latest)
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class GenerativeSettings.KnowledgeConnectorSettings.Builder extends GeneratedMessageV3.Builder<GenerativeSettings.KnowledgeConnectorSettings.Builder> implements GenerativeSettings.KnowledgeConnectorSettingsOrBuilderSettings for knowledge connector. These parameters are used for LLM prompt like "You are <agent>. You are a helpful and verbose <agent_identity> at <business>, <business_description>. Your task is to help humans on <agent_scope>".
Protobuf type
google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerativeSettings.KnowledgeConnectorSettings.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
build()
public GenerativeSettings.KnowledgeConnectorSettings build()| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings |
|
buildPartial()
public GenerativeSettings.KnowledgeConnectorSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings |
|
clear()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
clearAgent()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearAgent()Name of the virtual agent. Used for LLM prompt. Can be left empty.
string agent = 2;
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearAgentIdentity()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearAgentIdentity()Identity of the agent, e.g. "virtual agent", "AI assistant".
string agent_identity = 3;
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearAgentScope()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearAgentScope()Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".
string agent_scope = 5;
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearBusiness()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearBusiness()Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearBusinessDescription()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearBusinessDescription()Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".
string business_description = 4;
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerativeSettings.KnowledgeConnectorSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
clone()
public GenerativeSettings.KnowledgeConnectorSettings.Builder clone()| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
getAgent()
public String getAgent()Name of the virtual agent. Used for LLM prompt. Can be left empty.
string agent = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The agent. |
getAgentBytes()
public ByteString getAgentBytes()Name of the virtual agent. Used for LLM prompt. Can be left empty.
string agent = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agent. |
getAgentIdentity()
public String getAgentIdentity()Identity of the agent, e.g. "virtual agent", "AI assistant".
string agent_identity = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The agentIdentity. |
getAgentIdentityBytes()
public ByteString getAgentIdentityBytes()Identity of the agent, e.g. "virtual agent", "AI assistant".
string agent_identity = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentIdentity. |
getAgentScope()
public String getAgentScope()Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".
string agent_scope = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The agentScope. |
getAgentScopeBytes()
public ByteString getAgentScopeBytes()Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".
string agent_scope = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentScope. |
getBusiness()
public String getBusiness()Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The business. |
getBusinessBytes()
public ByteString getBusinessBytes()Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for business. |
getBusinessDescription()
public String getBusinessDescription()Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".
string business_description = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The businessDescription. |
getBusinessDescriptionBytes()
public ByteString getBusinessDescriptionBytes()Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".
string business_description = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for businessDescription. |
getDefaultInstanceForType()
public GenerativeSettings.KnowledgeConnectorSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerativeSettings.KnowledgeConnectorSettings other)
public GenerativeSettings.KnowledgeConnectorSettings.Builder mergeFrom(GenerativeSettings.KnowledgeConnectorSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerativeSettings.KnowledgeConnectorSettings |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerativeSettings.KnowledgeConnectorSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerativeSettings.KnowledgeConnectorSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.KnowledgeConnectorSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
setAgent(String value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgent(String value)Name of the virtual agent. Used for LLM prompt. Can be left empty.
string agent = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agent to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setAgentBytes(ByteString value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgentBytes(ByteString value)Name of the virtual agent. Used for LLM prompt. Can be left empty.
string agent = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agent to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setAgentIdentity(String value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgentIdentity(String value)Identity of the agent, e.g. "virtual agent", "AI assistant".
string agent_identity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentIdentity to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setAgentIdentityBytes(ByteString value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgentIdentityBytes(ByteString value)Identity of the agent, e.g. "virtual agent", "AI assistant".
string agent_identity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentIdentity to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setAgentScope(String value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgentScope(String value)Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".
string agent_scope = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentScope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setAgentScopeBytes(ByteString value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setAgentScopeBytes(ByteString value)Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of car owner".
string agent_scope = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentScope to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setBusiness(String value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setBusiness(String value)Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe business to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setBusinessBytes(ByteString value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setBusinessBytes(ByteString value)Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
string business = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for business to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setBusinessDescription(String value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setBusinessDescription(String value)Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".
string business_description = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe businessDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setBusinessDescriptionBytes(ByteString value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setBusinessDescriptionBytes(ByteString value)Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans".
string business_description = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for businessDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerativeSettings.KnowledgeConnectorSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.KnowledgeConnectorSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
|