semantics
This commit is contained in:
@@ -37,7 +37,7 @@ class PreviewExecutor:
|
||||
|
||||
# region fetch_sample_rows [TYPE Function]
|
||||
# @PURPOSE: Fetch sample rows from Superset dataset for preview.
|
||||
# @SIDE_EFFECT: Calls Superset chart data endpoint.
|
||||
# @SIDE_EFFECT Calls Superset chart data endpoint.
|
||||
def fetch_sample_rows(
|
||||
self,
|
||||
job: TranslationJob,
|
||||
@@ -84,7 +84,7 @@ class PreviewExecutor:
|
||||
|
||||
# region call_llm [TYPE Function]
|
||||
# @PURPOSE: Call the configured LLM provider with a prompt.
|
||||
# @SIDE_EFFECT: Makes HTTP call to LLM provider.
|
||||
# @SIDE_EFFECT Makes HTTP call to LLM provider.
|
||||
def call_llm(self, job: TranslationJob, prompt: str, max_tokens: int = 8192) -> str:
|
||||
with belief_scope("PreviewExecutor.call_llm"):
|
||||
if not job.provider_id:
|
||||
|
||||
Reference in New Issue
Block a user