From 3d7575386200050bd4a9d7fedbe5f8c5927f376e Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 24 Sep 2024 18:16:45 +0200 Subject: [PATCH 1/3] fix pipeline template --- .../core/pipeline/predefined/chat_with_website.yaml.jinja2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/haystack/core/pipeline/predefined/chat_with_website.yaml.jinja2 b/haystack/core/pipeline/predefined/chat_with_website.yaml.jinja2 index ef29947489..c4ef14d49d 100644 --- a/haystack/core/pipeline/predefined/chat_with_website.yaml.jinja2 +++ b/haystack/core/pipeline/predefined/chat_with_website.yaml.jinja2 @@ -1,8 +1,8 @@ components: converter: - init_parameters: - extractor_type: DefaultExtractor type: haystack.components.converters.html.HTMLToDocument + init_parameters: + extraction_kwargs: null fetcher: init_parameters: @@ -22,7 +22,7 @@ components: strict: true type: env_var generation_kwargs: {} - model: gpt-3.5-turbo + model: gpt-4o-mini streaming_callback: null system_prompt: null type: haystack.components.generators.openai.OpenAIGenerator From fba6591a7a73cb6df77ef9ee085de38f80a4ab16 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 24 Sep 2024 18:18:57 +0200 Subject: [PATCH 2/3] reno --- .../notes/fix-chat-web-pipe-template-0b00144b1099cda3.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 releasenotes/notes/fix-chat-web-pipe-template-0b00144b1099cda3.yaml diff --git a/releasenotes/notes/fix-chat-web-pipe-template-0b00144b1099cda3.yaml b/releasenotes/notes/fix-chat-web-pipe-template-0b00144b1099cda3.yaml new file mode 100644 index 0000000000..60b2f90a41 --- /dev/null +++ b/releasenotes/notes/fix-chat-web-pipe-template-0b00144b1099cda3.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Update the `CHAT_WITH_WEBSITE` Pipeline template to reflect the changes in + the `HTMLToDocument` converter component. From 33c1d94fdc1eacd1cd675bd6e997335456c83cab Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 24 Sep 2024 18:47:28 +0200 Subject: [PATCH 3/3] update to gpt-4o-mini --- haystack/core/pipeline/predefined/generative_qa.yaml.jinja2 | 2 +- haystack/core/pipeline/predefined/rag.yaml.jinja2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haystack/core/pipeline/predefined/generative_qa.yaml.jinja2 b/haystack/core/pipeline/predefined/generative_qa.yaml.jinja2 index 83ffd588bf..456689d75c 100644 --- a/haystack/core/pipeline/predefined/generative_qa.yaml.jinja2 +++ b/haystack/core/pipeline/predefined/generative_qa.yaml.jinja2 @@ -7,7 +7,7 @@ components: env_vars: [ "OPENAI_API_KEY" ] strict: true type: "env_var" - model: "gpt-3.5-turbo" + model: "gpt-4o-mini" type: "haystack.components.generators.openai.OpenAIGenerator" prompt_builder: diff --git a/haystack/core/pipeline/predefined/rag.yaml.jinja2 b/haystack/core/pipeline/predefined/rag.yaml.jinja2 index 97b9ae76dd..cff8bbb84d 100644 --- a/haystack/core/pipeline/predefined/rag.yaml.jinja2 +++ b/haystack/core/pipeline/predefined/rag.yaml.jinja2 @@ -10,7 +10,7 @@ components: strict: true type: env_var generation_kwargs: {} - model: gpt-3.5-turbo + model: gpt-4o-mini streaming_callback: null system_prompt: null type: haystack.components.generators.openai.OpenAIGenerator