Skip to content

Web Page

Version badge

Knowledge AI supports using a web page as a type when creating a new Knowledge Source.

Restrictions

Using a Web Page as a Knowledge Source has a current set of restrictions:

  • All visible text on the page, including items such as cookie notices, will be included in the result.
  • The content must be hosted on a publicly accessible website, reachable from the Cognigy environment.
  • The content hosted on websites with anti-crawling measures cannot be accessed.
  • No images or OCR (Optical Character Recognition) capabilities are supported.

How to Ingest a Web Page

Before using a web page as a source, check if at least one Knowledge Store is created in your Agent:

  1. Open the Cognigy.AI interface.
  2. In the left-side menu, select a Project where you want to add a Knowledge Store.
  3. In the left-side menu, navigate to Build > Knowledge. The Knowledge AI wizard will be opened.
  4. Continue following the wizard instructions.
  5. Specify a unique name, select an embedding model if you did not add it before.
  6. Click Next.
  7. In the Upload Knowledge step, select the Web Page option.
  8. Copy and paste the URL of the web page you want to ingest into the URL field.
  9. (Optional) Add a description to provide additional context or notes about the web page.
  10. Click Next.
  11. (Optional) In the Configure Answer Extraction Model section, select the additional model if you want to extract key points and output the search result as text or an adaptive card. Click Configure and enter model credentials.
  12. (Optional) When the additional model is configured, click Create Flow. A Flow with the Search Extract Output Node will be created.
  13. Click Next. A task will be initiated to parse website content.
  14. Wait until the process successfully finishes, then click Finish.
  15. A new Knowledge Store with the default name url appears on the Knowledge Store page. You can change its initial name by hovering the cursor over the Knowledge Store entry on the right side, clicking vertical-ellipsis and selecting Edit.
  16. Click the name of your Knowledge Store that you created to view the Knowledge Source.
  1. Open the Cognigy.AI interface.
  2. In the left-side menu, select a Project where you want to add a Knowledge Store.
  3. In the left-side menu, navigate to Build > Knowledge.
  4. Click + New Knowledge Store and enter a name and optional description.
  5. Click Save and then click New Knowledge Sources.
  6. Click the drop-down menu under Type and select Web Page.
  7. Copy and paste the URL of the web page you want to ingest into the URL field.
  8. (Optional) Add a description to provide additional context or notes about the web page, and include Source Tags.
  9. Click Create. A new entry will appear in the Knowledge Store, and a task will be initiated to parse website content.
  10. Wait until the status column shows a green checkmark.

Now, you can click the name of your Knowledge Source and inspect the results in the Chunk Editor.

Chunking Process

When ingesting a web page, the Knowledge AI chunking process will perform the following:

  1. Visit the URL as a page in a browser session.
  2. Scroll to the bottom of the web page.
  3. Access lazy-loaded1 content by checking for any text changes until the page is stable and no longer loading additional text.
  4. Generate Knowledge Source content based on the visible text result.

The web page content will be imported into a Knowledge Source once. The source is not automatically updated to reflect future content changes on the web page.

More Information


  1. Lazy loading is a technique in web development that defers the loading of non-critical or non-visible content until it is needed, improving page load times and user experience.