mirror of
https://github.com/kuaifan/dootask.git
synced 2026-06-24 08:12:36 +00:00
方向7 反馈闭环: - 新增 ai_assistant_search_logs / ai_assistant_feedbacks 两表 + 模型 - AssistantController 加 log__search / feedback__save 端点,auth 透传 session_id→context_key - 前端 AI 回复下方 👍/👎(可改票、随会话持久化回显),extractSourceIds 解析引用 - ai-kb:feedback chunk + README 运营 SQL 口径(低分 top query / 👎 source) 方向4 页面操作引导: - 渲染层用 driver.js(高亮可点击挖洞 + 稳定定位),编排层自研 (脚本 schema / 四级元素定位 / 跨页 pre_action 导航 / 找不到降级文字) - leave-semantics:跳转动作在点「下一步」后才执行 - markdown.js 渲染 ```ai-guide 围栏为「带我去」按钮;DialogMarkdown 点击启动 - 近义词归一化(创建/新建/新增/添加互通)提升 target 命中 - ai-kb:guide/start-guide chunk + tool-binding 加 show_guide Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
607 B
PHP
27 lines
607 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
/**
|
|
* AI 助手帮助知识库检索日志
|
|
*
|
|
* @property int $id
|
|
* @property int $userid
|
|
* @property int $dialog_id
|
|
* @property string $context_key
|
|
* @property string $source
|
|
* @property string $query
|
|
* @property string $locale
|
|
* @property string|null $source_ids
|
|
* @property float $top_score
|
|
* @property int $result_count
|
|
* @property int $duration_ms
|
|
* @property int $empty
|
|
* @property \Carbon\Carbon $created_at
|
|
* @property \Carbon\Carbon $updated_at
|
|
*/
|
|
class AiAssistantSearchLog extends AbstractModel
|
|
{
|
|
protected $table = 'ai_assistant_search_logs';
|
|
}
|