INNER CODE UNIT · C#

Service

Eppie-io/Eppie-App · src/Eppie.App/Eppie.AI/Service.cs:24

    public class Service
    {
        private readonly int defaultTopK = 50;
        private readonly float defaultTopP = 0.9f;
        private readonly float defaultTemperature = 1;
        private readonly int defaultMaxLength = 1024;

        private ChatOptions? _modelOptions;
        private IChatClient _model;

        public async Task LoadModelAsync(string modelPath)
        {
            UnloadModel();

            var name = GetModelName(modelPath);

            switch (name)
            {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…