Skip to content

AI. Add logging support #7898

@AndreiMaz

Description

@AndreiMaz

We've added the AI functionality to generate content in nopCommerce 4.90.

Let's add a new setting (bool "Log AI requests") indicating whether we should log request details for AI requests. It'll be disabled by default.

When enabled, we'll log all generated prompts and responses in Admin area >System > Log. New records will contain all details about prompt and response (maybe, some other details, e.g. tokens). Its log level will be "Information"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions