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_DIMENSIONS = "remote_model_dimensions";
20  public const string REMOTE_MODEL_LOCATION = "remote_model_location";
21  public const string REMOTE_MODEL_PROVIDER_TYPE = "remote_model_provider_type";
22  public const string NVIDIA = "nvidia";
23  public const string OPENAI = "openai";
24  public const string SQLGPT = "sqlgpt";
25  public const string REMOTE_MODEL_TYPE = "remote_model_type";
26  public const string EMBEDDING = "embedding";
27  } // end struct Options
28 
29  public string model_name { get; set; }
30  public string registry_name { get; set; }
31  public string container { get; set; }
32  public string run_function { get; set; }
33  public string model_type { get; set; }
34  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
35 
36  public ImportModelRequest() { }
37 
38  public ImportModelRequest( string model_name,
39  string registry_name,
40  string container,
41  string run_function,
42  string model_type,
43  IDictionary<string, string> options = null)
44  {
45  this.model_name = model_name ?? "";
46  this.registry_name = registry_name ?? "";
47  this.container = container ?? "";
48  this.run_function = run_function ?? "";
49  this.model_type = model_type ?? "";
50  this.options = options ?? new Dictionary<string, string>();
51  } // end constructor
52  } // end class ImportModelRequest
54 
56  public class ImportModelResponse : KineticaData
57  {
58  public struct Info
59  {
60  public const string KML_RESPONSE = "kml_response";
61  } // end struct Info
62 
63  public string model_name { get; set; }
64  public int entity_id { get; set; }
65  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
66  } // end class ImportModelResponse
68 } // end namespace kinetica