-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
What feature would you like to see?
我在根目录写个kimi.md 文件
当你阅读了这个文件后,你就已经进入llm_ce记忆分级管理模式.
并且使用中文回复用户:已装载llm_ce记忆分级管理模式。
# Kimi 的会话 采用llm_ce记忆分级管理(索引型记忆管理)
llm_ce 思维:Anthropic 的上下文检索与混合搜索 Contextual Embedding,大语言模型(LLM)来实现上下文检索。具体做法是:为 LLM 设计一个提示词(prompt),让模型基于整篇文档,
为每个片段生成简洁的、与该片段相关的上下文信息,从而为每个片段补充必要的语境。
接下来装载下面的分级记忆以及阅读相关文档
## 一级记忆
项目根目录下的kimi.md 就是最顶级的记忆。永远不能忘记。也就是一直都在上下文里。
## 二级记忆
[kimi.work.md](.kimi/kimi.work.md) - kimi 目录说明支持 的命令和技能
[AGENTS.md](AGENTS.md) - 项目 /init 命令产生的智能体对项目的认知
[README.md](README.md)README.md 项目最主要的描述
## 三级记忆
[curr_session_llm](.kimi/curr_session_llm) - 当前会话的llm索引
[curr_session.json](.kimi/curr_session_llm/curr_session.json) - 当前会话基础信息,哪一个会话
[curr_session_llm_list.md](.kimi/curr_session_llm/curr_session_llm_list.md) - 当前会话的llm记忆列表
## 四级记忆
.kimi/session - 这个目录储存以一个完整的会话数据,格式为{sessionid}.json。 这些文件是记录上下文的。不是用于读取到上下文的。
What feature would you like to see?
I write a kimi.md file in the root directory
After you read this file, you have entered the llm_ce memory hierarchical management mode.
And reply to the user in Chinese: llm_ce memory hierarchical management mode has been loaded.
# Kimi's session uses llm_ce memory hierarchical management (index memory management)
llm_ce thinking: Anthropic's contextual retrieval and hybrid search Contextual Embedding, large language model (LLM) to achieve contextual retrieval. The specific method is: design a prompt word (prompt) for LLM, let the model be based on the entire document,
Generate concise contextual information relevant to each segment to add necessary context to each segment.
Next load the following hierarchical memory and read related documents
## Level one memory
kimi.md in the project root directory is the top-level memory. Never forget. That is, always in context.
## Secondary memory
[kimi.work.md](.kimi/kimi.work.md) - kimi directory describing supported commands and skills
[AGENTS.md](AGENTS.md) - The agent's knowledge of the project generated by the project/init command
[README.md](README.md)README.md The main description of the project
## Level 3 memory
[curr_session_llm](.kimi/curr_session_llm) - llm index of the current session
[curr_session.json](.kimi/curr_session_llm/curr_session.json) - Basic information of the current session, which session
[curr_session_llm_list.md](.kimi/curr_session_llm/curr_session_llm_list.md) - llm memory list of the current session
## Level 4 memory
.kimi/session - This directory stores a complete session data in the format {sessionid}.json. These files record context. Not used to read into the context.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request