Configure the OpenAI Knowledge Graph Entity Extractor
Before configuring the OpenAI Knowledge Graph Entity Extractor, ensure that required AI connections, authentication providers, and dependent services are already set up. These settings control how SmartHub retrieves, reasons over, and responds to conversational queries.
Prerequisites
Note the following prerequisites before configuring the AI Visual Interpreter component:
-
If you are using OpenAI, the model you use must be gpt-4o or later.
Configure the component
-
In the AutoClassifier administration portal, Add a new component to a new or existing pipeline.
-
When adding your component, select OpenAI Knowledge Graph Entity Extractor from the New Component list and provide a name for your component.
-
Click Add Component.
-
Select your OpenAI Knowledge Graph Entity Extractor component from the list.
-
In the Endpoint field, enter the URL for the OpenAI chat completion API used by your environment. by default, this field is populated with the default OpenAI endpoint (https://api.openai.com/v1/chat/completions), but you can modify it if your organization accesses OpenAI models through a different endpoint.
-
In the Model field, enter the model name for your OpenAI model.
-
In the API Key, field, provide the API key for your OpenAI resource.
-
In the Prompt field, define the instructions that guide the AI model on how to identify and extract entities from content using the selected ontology. Use this field to control what the model looks for and how entities should be interpreted during extraction.
-
In the Ontology field, specify the entity types and relationships that you wish to extract. This ensures that both document content and user queries are analyzed using the same structured knowledge model. For more information, refer to the entity extractor ontology use cases and examples.
-
In the Input Property field, Specify the metadata field that will be analyzed for entity extraction. This determines which portion of the document (for example, body text or metadata) is used to populate the Knowledge Graph. If you are combining this component with the document chunker, you can use the chunk body property name.
-
In the Max character Limit field, specify the maximum number of characters from the input property that will be sent to the AI model for entity extraction.
-
Click Save.