Twise Help Center
  • Welcome 👋
    • Quick start guide
    • [Video] Beginners guide on how to edit and share a twise
    • [Video] Tips, tricks and admin walk through
  • Content
    • How twise learns from your content
    • Knowledge cards
    • Best practise for adding content
    • Understanding how twise works with your content
    • How to match answers with visuals
    • Include links in answers
    • What kind of content can be uploaded?
    • Video and audio files
    • Adding lists and structured content
    • The basics of how knowledge retrieval works
    • Bulk import content via CSV or XML file
  • Content - Collections
    • What are collections?
  • Collections API - Events
  • Importing a collection via a Twise XML Feed
  • SHARING
    • [Video tutorial] How to get twise onto your website
    • How to share a twise
    • Website widget
    • Embed onto your site
    • Access rights
  • OTHER
    • Understand the Visitor: Setting Up Twise for Personalized Engagement
    • Lead capturing
    • Contact form & CTA
    • Insights
    • Voices
    • Privacy and security
    • Zapier Integration
    • How to iterate and improve answer quality
    • How do I upgrade to a paid plan?
    • How do credits work and what happens if you run out?
    • Delete a twise
    • API Guide
    • Enterprise plan onboarding
  • DESIGN
    • How to add a menu & navigation
    • Custom design
Powered by GitBook
On this page
  • Before you get started
  • What can you import?
  • General preparation for text documents
  • Sample CSV files
  1. Content

Bulk import content via CSV or XML file

PreviousThe basics of how knowledge retrieval worksNextWhat are collections?

Last updated 1 year ago

You can quickly import content into a twise by using the XML/CSV option, You can find this by clicking CONTENT > Knowledge > Add content > Import from file:

Before you get started

It is important that you understand how the AI will use your information to answer questions from the users before you get started.

The most important thing is to not upload too much information as you start out. It is better to start small, with a few texts, or a single webpage, and then expand from there.

Also consider that the kind of knowledge database that we use is unstructured so it doesn't work well for grouped or content that is in categories. This has to do with the way AI uses semantic search and not a classic database search. Read more .

What can you import?

  • Short text files

    • The total body and additional information is a max of 50-150 words

    • Use the CSV file template no 1

  • Longer text files

    • If you are looking to import more complex information like articles, blog posts, essays etc you can use the template no 2 which will pre-process the information and convert it into questions and answers. See

    • Please note that longer files with a lot of content in each body will generate tens to hundreds of knowledge cards.

  • Images, audio & videos

    • You can import images or videos using template no 3

    • This requires a public link for each image, audio or video file

  • Scrape website pages

    • You can also scrape a single or multiple urls

    • Use the template no 4 for that

    • If you also want to scrape images set the field extract_images to 1

    • You can limit to scrape one page, or up to 10 pages by setting the field page_limit to the number of pages you want to scrape

General preparation for text documents

When you import text into twise we only consider two fields:

  1. Question (labelled "description" in import): This can either be a question or a title, or even just a product or service name

  2. Answer (labelled "text_content"): All your content goes here, including text and any additional info for example a phone number, a link, price information etc.

The basic rule is that you will need to put all the content into the test_content field in your CSV file and add a title, or question in the description field that indicates that the answer can be found in the answer.

Sample CSV files

We have a where you can see the examples.

Google Sheet file here
here
knowledge cards.
396B
1_twise import from csv no preprocessing.cvs.csv
396B
2_twise import from csv with preprocessing.cvs.csv
225B
3_twise import images from csvcvs.csv
140B
4_twise scrape website url.csv