minor change

This commit is contained in:
Jicheng Lu 2024-07-16 17:17:38 -05:00
parent db15157ea5
commit 27c13da561
9 changed files with 16 additions and 34 deletions

View file

@ -1,10 +1,6 @@
using AspectInjector.Broker;
using Azure.Core;
using BotSharp.Abstraction.Files.Converters;
using Microsoft.EntityFrameworkCore;
using System.IO;
using System.Net.Mime;
using System.Threading;
namespace BotSharp.Core.Files.Services;

View file

@ -1,7 +1,4 @@
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
namespace BotSharp.Core.Files.Services;

View file

@ -1,6 +1,5 @@
using Microsoft.AspNetCore.StaticFiles;
using System.IO;
using System.Net.Mime;
namespace BotSharp.Core.Files.Services;

View file

@ -4,6 +4,9 @@ global using System.Text;
global using System.Threading.Tasks;
global using System.Linq;
global using System.Text.Json;
global using System.Net.Mime;
global using System.Net.Http;
global using System.Threading;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Logging;
global using EntityFrameworkCore.BootKit;

View file

@ -1,4 +1,3 @@
using BotSharp.Abstraction.Settings;
using BotSharp.Plugin.FileHandler.Hooks;
using Microsoft.Extensions.Configuration;

View file

@ -1,12 +1,3 @@
using BotSharp.Abstraction.Agents.Enums;
using BotSharp.Abstraction.Files.Enums;
using BotSharp.Abstraction.Files.Models;
using BotSharp.Abstraction.Files;
using BotSharp.Abstraction.MLTasks;
using Microsoft.Extensions.Logging;
using BotSharp.Core.Infrastructures;
using System.Net.Mime;
namespace BotSharp.Plugin.FileHandler.Functions;
public class ReadImageFn : IFunctionCallback

View file

@ -1,12 +1,3 @@
using BotSharp.Abstraction.Agents.Enums;
using BotSharp.Abstraction.Files.Enums;
using BotSharp.Abstraction.Files.Models;
using BotSharp.Abstraction.Files;
using BotSharp.Abstraction.MLTasks;
using BotSharp.Core.Infrastructures;
using Microsoft.Extensions.Logging;
using System.Net.Mime;
namespace BotSharp.Plugin.FileHandler.Functions;
public class ReadPdfFn : IFunctionCallback

View file

@ -1,8 +1,3 @@
using BotSharp.Abstraction.Agents.Enums;
using BotSharp.Abstraction.Agents.Settings;
using BotSharp.Abstraction.Functions.Models;
using BotSharp.Abstraction.Repositories;
namespace BotSharp.Plugin.FileHandler.Hooks;
public class FileHandlerHook : AgentHookBase, IAgentHook

View file

@ -3,19 +3,30 @@ global using System.Collections.Generic;
global using System.Text;
global using System.Linq;
global using System.Text.Json;
global using System.Net.Mime;
global using System.Threading.Tasks;
global using Microsoft.Extensions.DependencyInjection;
global using Microsoft.Extensions.Logging;
global using BotSharp.Abstraction.Agents;
global using BotSharp.Abstraction.Conversations;
global using BotSharp.Abstraction.Plugins;
global using BotSharp.Abstraction.Conversations.Models;
global using BotSharp.Abstraction.Functions;
global using BotSharp.Abstraction.Agents.Models;
global using BotSharp.Abstraction.Templating;
global using Microsoft.Extensions.DependencyInjection;
global using BotSharp.Abstraction.Agents.Enums;
global using BotSharp.Abstraction.Files.Enums;
global using BotSharp.Abstraction.Files.Models;
global using BotSharp.Abstraction.Files;
global using BotSharp.Abstraction.MLTasks;
global using BotSharp.Abstraction.Utilities;
global using BotSharp.Abstraction.Agents.Settings;
global using BotSharp.Abstraction.Functions.Models;
global using BotSharp.Abstraction.Repositories;
global using BotSharp.Abstraction.Settings;
global using BotSharp.Abstraction.Messaging;
global using BotSharp.Abstraction.Messaging.Models.RichContent;
global using BotSharp.Abstraction.Options;
global using BotSharp.Core.Infrastructures;
global using BotSharp.Plugin.FileHandler.Enums;
global using BotSharp.Plugin.FileHandler.Settings;
global using BotSharp.Plugin.FileHandler.LlmContexts;