Kinetica   C#   API  Version 7.2.3.0
ImportModel.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
12  public class ImportModelRequest : KineticaData
13  {
14  public struct Options
15  {
16  public const string CREDENTIAL = "credential";
17  public const string MEMORY_LIMIT = "memory_limit";
18  public const string REMOTE_MODEL_NAME = "remote_model_name";
19  public const string REMOTE_MODEL_LOCATION = "remote_model_location";
20  public const string REMOTE_MODEL_PROVIDER_TYPE = "remote_model_provider_type";
21  public const string NVIDIA = "nvidia";
22  public const string OPENAI = "openai";
23  public const string SQLGPT = "sqlgpt";
24  public const string REMOTE_MODEL_TYPE = "remote_model_type";
25  public const string EMBEDDING = "embedding";
26  } // end struct Options
27 
28  public string model_name { get; set; }
29  public string registry_name { get; set; }
30  public string container { get; set; }
31  public string run_function { get; set; }
32  public string model_type { get; set; }
33  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
34 
35  public ImportModelRequest() { }
36 
37  public ImportModelRequest( string model_name,
38  string registry_name,
39  string container,
40  string run_function,
41  string model_type,
42  IDictionary<string, string> options = null)
43  {
44  this.model_name = model_name ?? "";
45  this.registry_name = registry_name ?? "";
46  this.container = container ?? "";
47  this.run_function = run_function ?? "";
48  this.model_type = model_type ?? "";
49  this.options = options ?? new Dictionary<string, string>();
50  } // end constructor
51  } // end class ImportModelRequest
53 
55  public class ImportModelResponse : KineticaData
56  {
57  public struct Info
58  {
59  public const string KML_RESPONSE = "kml_response";
60  } // end struct Info
61 
62  public string model_name { get; set; }
63  public int entity_id { get; set; }
64  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
65  } // end class ImportModelResponse
67 } // end namespace kinetica