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/action/LlamaActionVisitor.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ public interface LlamaActionVisitor {
22
22
* Creates an executable action for the given Llama embeddings model.
23
23
*
24
24
* @param model the Llama embeddings model
25
-
* @param taskSettings the settings for the task, which may include parameters like user
25
+
* @param taskSettings the settings for the task
26
26
* @return an executable action for the embeddings model
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/completion/LlamaChatCompletionModel.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +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
+
* @param taskSettings the settings for the task
37
37
* @param secrets the secret settings for the model, such as API keys or tokens
38
38
* @param context the context for parsing configuration settings
39
39
*/
@@ -62,7 +62,7 @@ public LlamaChatCompletionModel(
62
62
* @param taskType the type of task this model is designed for
63
63
* @param service the name of the inference service
64
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
65
+
* @param taskSettings the settings for the task
66
66
* @param secrets the secret settings for the model, such as API keys or tokens
67
67
*/
68
68
publicLlamaChatCompletionModel(
@@ -82,7 +82,7 @@ public LlamaChatCompletionModel(
82
82
* If the request does not specify task settings, the original model is returned.
83
83
*
84
84
* @param model the original LlamaChatCompletionModel
85
-
* @param taskSettings the task settings to override, which may include parameters like user
85
+
* @param taskSettings the task settings to override
86
86
* @return a new LlamaChatCompletionModel with overridden task settings or the original model if no overrides are specified
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/completion/LlamaChatCompletionServiceSettings.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ public String getWriteableName() {
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/embeddings/LlamaEmbeddingsModel.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ 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
37
+
* @param taskSettings the settings for the task
38
38
* @param chunkingSettings the chunking settings for processing input data
39
39
* @param secrets the secret settings for the model, such as API keys or tokens
40
40
* @param context the context for parsing configuration settings
@@ -88,7 +88,7 @@ private void setPropertiesFromServiceSettings(LlamaEmbeddingsServiceSettings ser
88
88
* @param taskType the type of task this model is designed for
89
89
* @param service the name of the inference service
90
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
91
+
* @param taskSettings the settings for the task
92
92
* @param chunkingSettings the chunking settings for processing input data
93
93
* @param secrets the secret settings for the model, such as API keys or tokens
94
94
*/
@@ -113,7 +113,7 @@ public LlamaEmbeddingsModel(
113
113
* If the request does not specify task settings, the original model is returned.
114
114
*
115
115
* @param model the original LlamaEmbeddingsModel
116
-
* @param taskSettings the task settings to override, which may include parameters like user
116
+
* @param taskSettings the task settings to override
117
117
* @return a new LlamaEmbeddingsModel with overridden task settings or the original model if no overrides are specified
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/llama/embeddings/LlamaEmbeddingsServiceSettings.java
+7-14Lines changed: 7 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -90,8 +90,9 @@ public static LlamaEmbeddingsServiceSettings fromMap(Map<String, Object> map, Co
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/AbstractInferenceServiceTests.java
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/custom/CustomServiceTests.java
0 commit comments