Skip to content

[BUG]: KernelMemory.AskAsync() does not work - exception: object reference not set to an instance of an object #891

Description

@aropb

Description

I use KernelMemory. LogiBits is empty.

The error occurs at the time of the call:
memory.AskAsync()

Screenshot_1

Debug with clone classes: BaseSamplingPipeline, DefaultSamplingPipeline
Screenshot_2

Reproduction Steps

The error occurs at the time of the call:

MemoryAnswer answer = await memory.AskAsync(question: question, filters: filters);

Environment & Configuration

  • Operating system: Windows 10/11
  • .NET runtime version: 8.0.7
  • LLamaSharp version: 0.15.0
  • KernelMemory: 0.70.240803.1, 0.69.240727.1
  • CUDA version (if you are using cuda backend): -
  • CPU & GPU device: CPU Intel Core Ultra 9

Known Workarounds

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