Skip to content

improve logs #178

Description

@kuraisle

Is this the right issue type?

  • Yes, I'm planning work for this project team.

Summary

The logs for lettuce aren't very helpful.

The LLM logs should store a lot more by default.
OpenTelemetry has examples of GenAI logs

For each generation we should at least log:

  • operation name
  • model name
  • temperature
  • messages

Some of this is reported from the Llama.cpp meta, but the prompt should be included

For database searches, the search parameters should be logged, like:

  • search term
  • search parameters
  • query type

Acceptance Criteria

  • LLM operations log the specified information
  • Database searches log the specified information

Tasks

  • Unit tests.
  • Documentation.

Confirm creation

  • Ready to create this deliverable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions