From 243e8f483d7441d0292c257f4378d0f8abf95ad0 Mon Sep 17 00:00:00 2001 From: J S <49557684+svilupp@users.noreply.github.com> Date: Sun, 18 Aug 2024 10:52:48 +0200 Subject: [PATCH] update changelog --- CHANGELOG.md | 25 ++++++++++++++++++++++++- src/loading.jl | 2 +- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf693f..dc9387b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,10 +10,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +## [0.3.0] +### Added (thanks to [Splendidbug](https://github.com/splendidbug)!) +- New knowledge packs created by Splendidbug using `DocsScraper.jl` (to be registered soon, created as part of Google Summer of Code). +- Knowledge packs for JuliaData org (DataFrames.jl), Plots org, and SciML org. +- Refreshed knowledge packs for Makie org and Tidier org. +- Golden Q&A sets for new packages to evaluate performance. + +### Changed +- Changed default chunk size to 384 based on evaluation results. +- Increased compatibility for PromptingTools to v0.50, enabling the use of the latest chat models. +- Changed const-Ref variables to typed globals to prevent issues encountered in PromptingTools. + +### Removed +- Legacy pack "juliaextra". + +### Fixed +- Issues related to const-Ref variables by switching to typed globals. +- Fixed `:gold` pipeline inconsistently updating the embedding dimension + +### Notes +- The new knowledge packs are currently available only for the OpenAI Text embedding Large 3 model. +- Latest chat models can now be used, but embedding models are restricted for prebuilt knowledge packs. + ## [0.2.1] ### Updated -- Increased compat for PromptingTools to v0.37.1 to include bugfixes. +- Increased compat for PromptingTools to v0.37.1 to include bug fixes. ## [0.2.0] diff --git a/src/loading.jl b/src/loading.jl index e33cf95..666bada 100644 --- a/src/loading.jl +++ b/src/loading.jl @@ -67,7 +67,7 @@ But we recommend loading ONLY the packs you expect to need - unnecessary packs i """ function load_index!( packs::Vector{Symbol} = LOADED_PACKS; verbose::Bool = true, kwargs...) - global ALLOWED_PACKS, RAG_CONFIG, RAG_CONFIG + global ALLOWED_PACKS, RAG_CONFIG, RAG_KWARGS, MAIN_INDEX @assert all(x -> x in ALLOWED_PACKS, packs) "Invalid pack(s): $(setdiff(packs, ALLOWED_PACKS)). Allowed packs: $(ALLOWED_PACKS)" config_key = get_config_key(RAG_CONFIG, RAG_KWARGS)