File In Operator
Overview
Section titled “Overview”The File In
operator loads conversation data from various file formats (DAT, JSON, CSV, TSV, TXT) into its output DAT. It provides flexible options for specifying which file to load, including loading the latest file from a folder, loading based on date or agent name, or loading a specific file directly.
Placeholder - Add UI Image
Parameters
Section titled “Parameters”File Input Page
Section titled “File Input Page” Load Now (Loadpulse)
op('file_in').par.Loadpulse
Pulse - Default:
None
Specific File (Specificfile)
op('file_in').par.Specificfile
File - Default:
None
Load Folder (Loadfolder)
op('file_in').par.Loadfolder
Folder - Default:
test
Today (Today)
op('file_in').par.Today
Toggle - Default:
On
Load Date (YYYY-MM-DD) (Loaddate)
op('file_in').par.Loaddate
Str - Default:
2024-10-11
Agent Name (Agentname)
op('file_in').par.Agentname
Str - Default:
conversation
Last Load Time (Lastload)
op('file_in').par.Lastload
Str - Default:
2025-05-04 19:54:35
Output Display (Outputdisplay)
op('file_in').par.Outputdisplay
Str - Default:
Loaded: test\...
Auto Load on Startup (Autoload)
op('file_in').par.Autoload
Toggle - Default:
Off
About Page
Section titled “About Page” Bypass (Bypass)
op('file_in').par.Bypass
Toggle - Default:
Off
Show Built-in Parameters (Showbuiltin)
op('file_in').par.Showbuiltin
Toggle - Default:
Off
Version (Version)
op('file_in').par.Version
Str - Default:
1.0.0
Helper Popups (Popups)
op('file_in').par.Popups
Toggle - Default:
On
Last Updated (Lastupdated)
op('file_in').par.Lastupdated
Str - Default:
2024-11-06
Creator (Creator)
op('file_in').par.Creator
Str - Default:
dotsimulate
Website (Website)
op('file_in').par.Website
Str - Default:
https://dotsimulate.com
ChatTD Operator (Chattd)
op('file_in').par.Chattd
OP - Default:
/dot_lops/ChatTD
Usage Examples
Section titled “Usage Examples”Loading the Most Recent Conversation Log
Section titled “Loading the Most Recent Conversation Log”- Set the
Load Folder
parameter to the directory where your conversation logs are saved (e.g., theSave Folder
used by aFile Out
OP). - Set
Load File Mode
toLatest
. - Pulse
Load Now
. The operator will find the newest file in the specified folder (and its subfolders) and load its contents into the output DAT.
Loading a Specific Day’s Log
Section titled “Loading a Specific Day’s Log”- Set the
Load Folder
to the base directory containing dated subfolders (e.g.,.../logs/
). - Set
Load File Mode
toDate
. - If you want today’s log, leave
Today
On
. If you want a specific past date, turnToday
Off
and enter the date (e.g.,2023-10-27
) intoLoad Date
. - Pulse
Load Now
. The operator will load the latest file found within the corresponding date subfolder (e.g.,.../logs/2023-10-27/
).
Loading a Specific File
Section titled “Loading a Specific File”- Set
Load File Mode
toFile
. - Drag the desired file onto the
Specific File
parameter or type/paste the path. - Pulse
Load Now
.
Technical Notes
Section titled “Technical Notes”- The operator attempts to parse the loaded file based on its extension (
.dat
,.json
,.csv
,.tsv
,.txt
). Ensure the file content matches the expected format for its extension. - Loading JSON expects a list of dictionaries, where each dictionary represents a row and keys represent column headers.
- Loading TXT assumes tab-separated values.