From 950e4877e4fdbf6d19ab015d6fc059e6fafdd477 Mon Sep 17 00:00:00 2001 From: parkervg Date: Tue, 15 Oct 2024 20:04:00 -0400 Subject: [PATCH] Fixing link to default_examples.json --- blendsql/ingredients/builtin/join/main.py | 2 +- blendsql/ingredients/builtin/map/main.py | 2 +- blendsql/ingredients/builtin/qa/main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blendsql/ingredients/builtin/join/main.py b/blendsql/ingredients/builtin/join/main.py index 4161b52..b5ab185 100644 --- a/blendsql/ingredients/builtin/join/main.py +++ b/blendsql/ingredients/builtin/join/main.py @@ -118,7 +118,7 @@ def from_args( Args: few_shot_examples: A list of AnnotatedJoinExamples dictionaries for few-shot learning. - If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/ingredients/builtin/join/default_examples.json) as default. + If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/blob/main/blendsql/ingredients/builtin/join/default_examples.json) as default. use_skrub_joiner: Whether to use the skrub joiner. Defaults to True. k: Determines number of few-shot examples to use for each ingredient call. Default is None, which will use all few-shot examples on all calls. diff --git a/blendsql/ingredients/builtin/map/main.py b/blendsql/ingredients/builtin/map/main.py index 986d5da..a3771d4 100644 --- a/blendsql/ingredients/builtin/map/main.py +++ b/blendsql/ingredients/builtin/map/main.py @@ -127,7 +127,7 @@ def from_args( Args: model: The model to be used. Defaults to None. few_shot_examples: A list of dictionary MapExample few-shot examples. - If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/ingredients/builtin/map/default_examples.json) as default. + If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/blob/main/blendsql/ingredients/builtin/map/default_examples.json) as default. list_options_in_prompt: Whether to list options in the prompt. Defaults to True. batch_size: The batch size for processing. Defaults to None. k: Determines number of few-shot examples to use for each ingredient call. diff --git a/blendsql/ingredients/builtin/qa/main.py b/blendsql/ingredients/builtin/qa/main.py index 1eca07f..a32879f 100644 --- a/blendsql/ingredients/builtin/qa/main.py +++ b/blendsql/ingredients/builtin/qa/main.py @@ -165,7 +165,7 @@ def from_args( Args: few_shot_examples: A list of Example dictionaries for few-shot learning. - If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/ingredients/builtin/qa/default_examples.json) as default. + If not specified, will use [default_examples.json](https://github.com/parkervg/blendsql/blob/main/blendsql/ingredients/builtin/qa/default_examples.json) as default. context_formatter: A callable that formats a pandas DataFrame into a string. Defaults to a lambda function that converts the DataFrame to markdown without index. k: Determines number of few-shot examples to use for each ingredient call.