You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace LLama.Web.Common
- {
- public class LLamaOptions
- {
- public List<ModelOptions> Models { get; set; }
- public List<PromptOptions> Prompts { get; set; } = new List<PromptOptions>();
- public List<ParameterOptions> Parameters { get; set; } = new List<ParameterOptions>();
-
- public void Initialize()
- {
- foreach (var prompt in Prompts)
- {
- if (File.Exists(prompt.Path))
- {
- prompt.Prompt = File.ReadAllText(prompt.Path).Trim();
- }
- }
- }
- }
- }
|