LLMClientAsk Method

Synchronous LLM call. Blocks the calling thread until the full response arrives. Safe to use from IronPython scripts and non-UI contexts. Prefer AskAsync in async/UI code.

Definition

Namespace: DWSIM.SharedClasses
Assembly: DWSIM.SharedClasses (in DWSIM.SharedClasses.dll) Version: 10.0.0.0
public string Ask(
	string prompt,
	string model = "",
	string lang = ""
)

Parameters

prompt  String
 
model  String  (Optional)
 
lang  String  (Optional)
 

Return Value

String

See Also