Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingo configuration system. issue #2395
- Loading branch information
1 parent
908cebd
commit e62a1f3
Showing
15 changed files
with
3,931 additions
and
0 deletions.
There are no files selected for viewing
173 changes: 173 additions & 0 deletions
173
j-lawyer-client/src/com/jdimension/jlawyer/client/assistant/AiCapability.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
/* | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template | ||
*/ | ||
package com.jdimension.jlawyer.client.assistant; | ||
|
||
import com.jdimension.jlawyer.persistence.AssistantConfig; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
/** | ||
* | ||
* @author jens | ||
*/ | ||
public class AiCapability { | ||
|
||
private AssistantConfig assistantConfig=null; | ||
|
||
private String name; | ||
private String description; | ||
private String requestType; | ||
private String modelType; | ||
private boolean async=false; | ||
|
||
private Prompt defaultPrompt=null; | ||
|
||
private List<Parameter> parameters=new ArrayList<>(); | ||
|
||
private List<Input> input=new ArrayList<>(); | ||
|
||
private List<Output> output=new ArrayList<>(); | ||
|
||
/** | ||
* @return the name | ||
*/ | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** | ||
* @param name the name to set | ||
*/ | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
/** | ||
* @return the description | ||
*/ | ||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
/** | ||
* @param description the description to set | ||
*/ | ||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
/** | ||
* @return the requestType | ||
*/ | ||
public String getRequestType() { | ||
return requestType; | ||
} | ||
|
||
/** | ||
* @param requestType the requestType to set | ||
*/ | ||
public void setRequestType(String requestType) { | ||
this.requestType = requestType; | ||
} | ||
|
||
/** | ||
* @return the modelType | ||
*/ | ||
public String getModelType() { | ||
return modelType; | ||
} | ||
|
||
/** | ||
* @param modelType the modelType to set | ||
*/ | ||
public void setModelType(String modelType) { | ||
this.modelType = modelType; | ||
} | ||
|
||
/** | ||
* @return the async | ||
*/ | ||
public boolean isAsync() { | ||
return async; | ||
} | ||
|
||
/** | ||
* @param async the async to set | ||
*/ | ||
public void setAsync(boolean async) { | ||
this.async = async; | ||
} | ||
|
||
/** | ||
* @return the defaultPrompt | ||
*/ | ||
public Prompt getDefaultPrompt() { | ||
return defaultPrompt; | ||
} | ||
|
||
/** | ||
* @param defaultPrompt the defaultPrompt to set | ||
*/ | ||
public void setDefaultPrompt(Prompt defaultPrompt) { | ||
this.defaultPrompt = defaultPrompt; | ||
} | ||
|
||
/** | ||
* @return the parameters | ||
*/ | ||
public List<Parameter> getParameters() { | ||
return parameters; | ||
} | ||
|
||
/** | ||
* @param parameters the parameters to set | ||
*/ | ||
public void setParameters(List<Parameter> parameters) { | ||
this.parameters = parameters; | ||
} | ||
|
||
/** | ||
* @return the input | ||
*/ | ||
public List<Input> getInput() { | ||
return input; | ||
} | ||
|
||
/** | ||
* @param input the input to set | ||
*/ | ||
public void setInput(List<Input> input) { | ||
this.input = input; | ||
} | ||
|
||
/** | ||
* @return the output | ||
*/ | ||
public List<Output> getOutput() { | ||
return output; | ||
} | ||
|
||
/** | ||
* @param output the output to set | ||
*/ | ||
public void setOutput(List<Output> output) { | ||
this.output = output; | ||
} | ||
|
||
/** | ||
* @return the assistantConfig | ||
*/ | ||
public AssistantConfig getAssistantConfig() { | ||
return assistantConfig; | ||
} | ||
|
||
/** | ||
* @param assistantConfig the assistantConfig to set | ||
*/ | ||
public void setAssistantConfig(AssistantConfig assistantConfig) { | ||
this.assistantConfig = assistantConfig; | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.