Documentation
hila platform
Applications
Conversational Analytics
VIANAI
Documentation
Conversational Analytics

    Ingest custom data from a file

    If the data you want to ingest is in CSV or PARQUET format, you can create a new data source and upload the files to it.

    As part of ingest, you can build a pipeline of transformations to modify your data. The pipeline is not a full ETL tool, but it can make some minor adjustments to your data to make it consistent with your format. This is particularly useful if you have already ingested your initial data and follow-up data is in a different format to your initial data.

    The following procedure shows you how ingesting CSV files works. It uses the Financial Report of the U.S. Government as its data. You can modify this procedure to ingest your own CSV files.

    Steps

    1. Visit Federal Report of the U.S. Government.
      1. Select 1 Year under Data Range (Record Date).
      2. Click Download CSV File.
    2. Open hila’s monitoring app to the New Metadata window.
      1. Open the hila monitoring application by changing the ui subdomain in your hila URL to monitoring. For example, if your hila URL is https://ui.example.site, change it to https://monitoring.example.site.

      2. Log in to the hila monitoring application using your hila credentials.

      3. In the left navigation pane:

        1. Choose All Projects from the Select Projects Type dropdown list.
        2. Choose LLM Project from the projects list.
        3. Click New Metadata to open the New Metadata pane.

        manage metadata

    3. Ingest data from the CSV file into a table.
      1. Click the + Add Table button.
      2. Enter a table name, such as usfr.
      3. Click Choose File to open a file browser.
      4. Navigate to the directory where you downloaded the CSV file and choose it.
      5. In the Engine field, replace <specify_columns_selected_separated_by_commas> with the columns you want to use to sort your data (e.g. date).
      6. Notice the Add Transformers section. You can select many transformations to apply to the data as it is ingested. For this sample exercise, you can leave the default transformations selected. They format column names to be consistent and remove white spaces from column names. You can find other available transformations in edahub under /source/vianai/preprocessing. You can modify these for your own use or create your own.
      7. hila automatically populates the bottom of the pane with columns names and data types from the CSV file. You can modify these columns and their data types as needed.
      8. Click Save Schema to save the table schema.
      9. Click the Save data into table below the list of columns to save the data into the table.
      10. At the top of the page, click Overview to return to the metadata overview page.
    4. For this exercise, you store the data in a database with the default Internal clickhouse DB connection. If you want to use a different database connection, click + Add Connection and populate it with the connection information for your database.

    5. Click + Create new database and enter the name of the database to create, such as usfr_db.
      • You can use any name for the database, but hila expects this name to contain only lowercase letters and underscores.
    6. Enter a name for the metadata, such as usfr_metadata, and a description, such as USFR metadata for USFR data.
      • The metadata name appears in the hila UI as the name of the datasource, so choose a name that is descriptive of the data it contains.
      • You can use any name for the metadata, but hila expects this name to contain only lowercase letters and underscores.
    7. Leave the rest of the fields as is. For more information about the metadata fields, see Manage metadata.

    8. Click Save. hila saves the metadata and populated the database.
      1. After hila saves the metadata, it validates it.
      2. When it finished validating, it shows a dialog box with a list of sample questions and runs one of them, showing the results in a table.
      3. Choose a question from the list to run it.
    9. The metadata is available in the hila UI as a datasource. Refresh the hila UI and ask questions against the data you ingested.
    TABLE OF CONTENTS
    Copyright © 2025
    Vianai Systems, Inc.
    All rights reserved.