Use ai logging with the llm that shows the full prompt and context.

Created on 2 July 2024, 6 months ago

Problem/Motivation

When debugging why an LLM bases search isn't working it might be happy to see the raw prompts that are provided. The AI module has a logging feature that submits all prompts to Drupal's logs that can be turned on and off when debugging the site.

This may just automatically work when using the AI abstraction layer but there may need to be more than what was just sent do the LLM (Maybe the embeddings themselves?)

It's Major for now but this might just work. Or if it works out of the box but there are nice to haves that could be added a minor issue could be created.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

AI Search

Created by

🇬🇧United Kingdom yautja_cetanu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024