@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseRetrievalConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for knowledge base query. For more information, see Query configurations.
This data type is used in the following API operations:
Retrieve request – in the retrievalConfiguration field
RetrieveAndGenerate request – in the retrievalConfiguration field
| Constructor and Description |
|---|
KnowledgeBaseRetrievalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
KnowledgeBaseRetrievalConfiguration |
clone() |
boolean |
equals(Object obj) |
KnowledgeBaseVectorSearchConfiguration |
getVectorSearchConfiguration()
Contains details about how the results from the vector search should be returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration vectorSearchConfiguration)
Contains details about how the results from the vector search should be returned.
|
String |
toString()
Returns a string representation of this object.
|
KnowledgeBaseRetrievalConfiguration |
withVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration vectorSearchConfiguration)
Contains details about how the results from the vector search should be returned.
|
public void setVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration vectorSearchConfiguration)
Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
vectorSearchConfiguration - Contains details about how the results from the vector search should be returned. For more information,
see Query
configurations.public KnowledgeBaseVectorSearchConfiguration getVectorSearchConfiguration()
Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
public KnowledgeBaseRetrievalConfiguration withVectorSearchConfiguration(KnowledgeBaseVectorSearchConfiguration vectorSearchConfiguration)
Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
vectorSearchConfiguration - Contains details about how the results from the vector search should be returned. For more information,
see Query
configurations.public String toString()
toString in class ObjectObject.toString()public KnowledgeBaseRetrievalConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.