You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/completion/LlamaChatCompletionModel.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ public class LlamaChatCompletionModel extends LlamaModel {
33
33
* @param taskType the type of task this model is designed for
34
34
* @param service the name of the inference service
35
35
* @param serviceSettings the settings for the inference service, specific to chat completion
36
+
* @param taskSettings the settings for the task, such as user or other parameters
36
37
* @param secrets the secret settings for the model, such as API keys or tokens
37
38
* @param context the context for parsing configuration settings
38
39
*/
@@ -61,6 +62,7 @@ public LlamaChatCompletionModel(
61
62
* @param taskType the type of task this model is designed for
62
63
* @param service the name of the inference service
63
64
* @param serviceSettings the settings for the inference service, specific to chat completion
65
+
* @param taskSettings the settings for the task, such as user or other parameters
64
66
* @param secrets the secret settings for the model, such as API keys or tokens
65
67
*/
66
68
publicLlamaChatCompletionModel(
@@ -75,6 +77,14 @@ public LlamaChatCompletionModel(
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/embeddings/LlamaEmbeddingsModel.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ public class LlamaEmbeddingsModel extends LlamaModel {
34
34
* @param taskType the type of task this model is designed for
35
35
* @param service the name of the inference service
36
36
* @param serviceSettings the settings for the inference service, specific to embeddings
37
+
* @param taskSettings the settings for the task, such as user or other parameters
38
+
* @param chunkingSettings the chunking settings for processing input data
37
39
* @param secrets the secret settings for the model, such as API keys or tokens
38
40
* @param context the context for parsing configuration settings
39
41
*/
@@ -86,6 +88,7 @@ private void setPropertiesFromServiceSettings(LlamaEmbeddingsServiceSettings ser
86
88
* @param taskType the type of task this model is designed for
87
89
* @param service the name of the inference service
88
90
* @param serviceSettings the settings for the inference service, specific to embeddings
91
+
* @param taskSettings the settings for the task, such as user or other parameters
89
92
* @param chunkingSettings the chunking settings for processing input data
90
93
* @param secrets the secret settings for the model, such as API keys or tokens
0 commit comments