Skip to content

bug: latentinjection.FactSnippetMixin can give dupe environments #1161

@leondz

Description

@leondz

Context snippets use randomly selected paragraphs, which can give duplicate contexts, which is an inefficient use of prompt space. Should be selected using sampling without replacement from permutations of available paragraphs.

See #1152 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingprobesContent & activity of LLM probes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions