GenaiConfiguration class

The GenaiConfiguration class is a subclass of the ReplicableClassDefinition class. It is used by a customer administrator to register an object store with the IBM® Content Assistant service, and adjust the configuration parameters of the service.

The following are the properties for the GenaiConfiguration class:
Table 1. GenaiConfiguration class properties
Property Data type Description
GenaiLLMDocumentSummaryPromptTemplate String The property defines the template text used to generate a summary when querying a Large Language Model (LLM) like watsonx.ai through the GenAI connector.
GenaiServiceUrl String The URL of the GenAI connector service.
GenaiAccessCode String The access code which can be used to register an object store with the GenAI connector service.
GenaiApiKey String The encrypted API key that is used to authorize access to the GenAI connector service for an object store.
GenaiProvider String The name of the watsonx.ai provider.
GenaiEmbeddingModelName String The name of the embedding model that the object store uses.
GenaiProviderURL String The URL of the watsonx.ai provider service.
GenaiSpace String The SpaceId of a space that is defined within an watsonx.ai service.
GenaiAdvancedOptions String The property contains JSON-formatted data that represents custom or advanced configuration settings for an object store in the GenAI connector system.
GenaiEmbeddingModelAPIKey String Obsolete. No longer used.
GenaiLLMAPIKey String The property value contains the encrypted watsonx.ai API key.
GenaiLLMDefaultModel String The default LLM model setting for the object store.
GenaiIndexingBatchItems Integer The property value specifies the maximum number of documents to send to the GenAI connector service in one vector indexing batch.
GenaiIndexingBatchCharacters Integer The property value specifies the maximum number of characters to send to the GenAI connector service in one vector indexing batch.
GenaiMaxSummaryWords Integer Specifies the maximum number of words to generate for a document summary.
GenaiIndexStatus String Specifies the status of the vector index associated with an object store.
GenaiLLMQueryPromptTemplate String The property defines the template text used to generate responses when querying a Large Language Model (LLM) like watsonx.ai through the GenAI connector.
GenaiLLMDocSummaryPromptTemplate String The property defines the template text used to generate a summary when querying a Large Language Model (LLM) like watsonx.ai through the GenAI connector.
For more information, see the topic Configuring the Content Assistant service parameters for an object store External link opens a new window or tab.