namespace AIStudio.Tools.Services; /// /// Why an indexing run of a data source was started. /// internal enum DataSourceEmbeddingRefreshMode { STARTUP_HASH_CHECK, HASH_CHECK, WATCHER_HASH_CHECK, MANUAL_RETRY, /// /// Carries on where the last run of the same data source stopped after its share of the work. /// CONTINUATION, /// /// The interval came round at which a data source is looked at again, since nothing reports its /// changes, e.g. a mailbox on a server. /// INTERVAL_CHECK, /// /// A tool is about to read what may have changed since the last run, e.g. the drafts of a /// mailbox. Unlike a retry of the user, it never signs in despite a refused sign-in. /// TOOL_REQUEST, }