svilupp / AIHelpMe.jl

Harnessing Julia's Rich Documentation for Tailored AI-Assisted Coding Guidance
https://svilupp.github.io/AIHelpMe.jl/dev/
MIT License
30 stars 5 forks source link

TextChunker not defined when building index #23

Closed PGimenez closed 1 month ago

PGimenez commented 1 month ago

When trying to build an index, I get an error about TextChunker not being defined. Am I missing something?

julia> using AIHelpMe
[ Info: Updated RAG pipeline to `:bronze` (Configuration key: "textembedding3large-1024-Bool").
[ Info: Loaded index from packs: julia into MAIN_INDEX

julia> using AIHelpMe: build_index

julia> using GenieFramework

julia> build_index(GenieFramework)
ERROR: UndefVarError: `TextChunker` not defined
Stacktrace:
 [1] build_index(mod::Module; verbose::Int64, kwargs::@Kwargs{})
   @ AIHelpMe ~/.julia/packages/AIHelpMe/dlOEj/src/preparation.jl:107
 [2] build_index(mod::Module)
   @ AIHelpMe ~/.julia/packages/AIHelpMe/dlOEj/src/preparation.jl:91
 [3] top-level scope
   @ REPL[4]:1

The error points to this line of code: https://github.com/svilupp/AIHelpMe.jl/blob/7ecb0d950b4832b9dfe627d683d5848ee038aa7d/src/preparation.jl#L108

svilupp commented 1 month ago

Let me look into it!