Skip to content

getindex failure on loadapp #5

Description

@tj800x

trj@Toms-iMac PkgAIHelp % julia --project

julia> using GenieFramework

julia> Genie.loadapp()

...

| Website https://genieframework.com
| GitHub https://github.com/genieframework
| Docs https://learn.genieframework.com
| Discord https://discord.com/invite/9zyZbD6J7H
| Twitter https://twitter.com/essenciary

Active env: DEV

Loading app[ Info: Updated RAG pipeline to :bronze (Configuration key: "textembedding3large-1024-Bool").
[ Info: Loaded index from packs: julia into MAIN_INDEX
┌ Warning: 2025-04-01 11:37:50 Pkg.installed() is deprecated
└ @ Pkg /usr/local/Cellar/julia/1.11.1/share/julia/stdlib/v1.11/Pkg/src/Pkg.jl:787
[ Info: 2025-04-01 11:37:51 Watching ["/Users/trj/projects/x/PkgAIHelp"]
ERROR: MethodError: no method matching getindex(::@NamedTuple{retriever_kwargs::@NamedTuple{top_k::Int64, top_n::Int64, embedder_kwargs::@NamedTuple{truncate_dimension::Int64, model::String}, rephraser_kwargs::@NamedTuple{model::String}, tagger_kwargs::@NamedTuple{model::String}}, generator_kwargs::@NamedTuple{refiner_kwargs::@NamedTuple{model::String}, answerer_kwargs::@NamedTuple{model::String}}})[ Info: 2025-04-01 11:37:53 Autoreloading

The function getindex exists, but no method is defined for this combination of argument types.

Closest candidates are:
getindex(::NamedTuple, ::InvertedIndices.InvertedIndex{Symbol})
@ InvertedIndices ~/.julia/packages/InvertedIndices/jfcUx/src/InvertedIndices.jl:229
getindex(::NamedTuple, ::Symbol)
@ Base namedtuple.jl:168
getindex(::NamedTuple, ::Colon)
@ Base namedtuple.jl:169
...

Stacktrace:
[1] top-level scope
@ ~/projects/x/PkgAIHelp/app.jl:15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions