索引

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|常量字段值|所有程序包

A

addDocument(String, Document) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
addDocument(String, Document) - 接口中的方法 top.aoyudi.rag.VectorStore
添加文档向量到指定仓库
addDocuments(String, List<Document>) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
addDocuments(String, List<Document>) - 接口中的方法 top.aoyudi.rag.VectorStore
将文档添加到指定向量仓库(会自动分割为块)
apiKey - 类中的变量 top.aoyudi.starter.DeepSeekProperties
DeepSeek API Key
apiUrl - 类中的变量 top.aoyudi.starter.DeepSeekProperties
DeepSeek API URL
arguments - 类中的变量 top.aoyudi.deepseek.entity.response.function.DSRespFunction
要调用的 function 的参数,由模型生成,格式为 JSON。
ASSISTANT - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
 

B

BAD_REQUEST - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
balance_infos - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance
 
BalanceInfo() - 类的构造器 top.aoyudi.deepseek.entity.response.balance.DSBalance.BalanceInfo
 
balanceUrl - 类中的变量 top.aoyudi.starter.DeepSeekProperties
DeepSeek 余额查询
bean - 类中的变量 top.aoyudi.deepseek.handler.ToolExecutor
bean对象
buildParameters(Method) - 类中的方法 top.aoyudi.deepseek.handler.ToolFunctionPostProcessor
根据方法参数构建DeepSeek参数Schema
buildRagPrompt(String, String) - 类中的方法 top.aoyudi.rag.util.RagUtils
构建RAG增强提示

C

cached_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
缓存的令牌数
calcSimilarity(float[], float[]) - 类中的方法 top.aoyudi.rag.impl.VectorSimilarityCalcImpl
 
calcSimilarity(float[], float[]) - 接口中的方法 top.aoyudi.rag.VectorSimilarityCalc
 
CHAT - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
 
ChatMessage - top.aoyudi.chat.entity中的类
消息底层实体 可用于存储记忆
ChatMessage() - 类的构造器 top.aoyudi.chat.entity.ChatMessage
 
choices - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
选择列表
chunkOverlap - 类中的变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
chunkOverlap - 类中的变量 top.aoyudi.rag.properties.RagProperties
文本块重叠大小(字符数)
chunkSize - 类中的变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
chunkSize - 类中的变量 top.aoyudi.rag.properties.RagProperties
文本块大小(字符数)
clear(String) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
clear(String) - 接口中的方法 top.aoyudi.rag.VectorStore
清空指定仓库的所有文档
code - enum class中的变量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
状态码
completion_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
完成令牌数
content - 类中的变量 top.aoyudi.chat.entity.ChatMessage
消息的内容
content - 类中的变量 top.aoyudi.deepseek.entity.response.message.DSRespMessage
回复内容
content - 类中的变量 top.aoyudi.rag.properties.Document
文档内容
created - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
响应创建的时间戳
createHeaders() - 类中的方法 top.aoyudi.starter.DeepSeekConfig
创建请求头,设置授权和内容类型
createRepository(String) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
createRepository(String) - 接口中的方法 top.aoyudi.rag.VectorStore
创建新仓库(如果不存在)
currency - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance.BalanceInfo
 

D

DeepSeekAutoConfiguration - top.aoyudi.starter中的类
DeepSeek 自动配置类 当 DeepSeekService 类存在时,自动配置生效
DeepSeekAutoConfiguration() - 类的构造器 top.aoyudi.starter.DeepSeekAutoConfiguration
 
deepSeekBalanceService(DeepSeekProperties) - 类中的方法 top.aoyudi.starter.DeepSeekAutoConfiguration
余额查询服务
DeepSeekBalanceService - top.aoyudi.deepseek.service中的类
DeepSeek 查询余额服务
DeepSeekBalanceService(DeepSeekProperties) - 类的构造器 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
DeepSeekChatModel - top.aoyudi.deepseek.entity.model中的类
DeepSeek 普通对话模型——自己定义并配置Bean
DeepSeekChatModel() - 类的构造器 top.aoyudi.deepseek.entity.model.DeepSeekChatModel
 
deepSeekConfig - 类中的变量 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
deepSeekConfig - 类中的变量 top.aoyudi.deepseek.service.DeepSeekService
 
deepSeekConfig - 类中的变量 top.aoyudi.deepseek.service.DeepSeekStreamService
 
deepSeekConfig(DeepSeekProperties) - 类中的方法 top.aoyudi.starter.DeepSeekAutoConfiguration
创建 DeepSeekService Bean 如果没有其他 DeepSeekService Bean 存在,则创建此 Bean
DeepSeekConfig - top.aoyudi.starter中的类
DeepSeek 服务类 负责提供与api交互的配置
DeepSeekConfig(DeepSeekProperties) - 类的构造器 top.aoyudi.starter.DeepSeekConfig
构造函数,初始化 DeepSeekProperties 和 RestTemplate
deepSeekModel - 类中的变量 top.aoyudi.deepseek.entity.request.DeepSeekRequest
使用的模型
DeepSeekModel - top.aoyudi.deepseek.entity.model中的类
DeepSeek 底层模型——不直接使用
DeepSeekModel() - 类的构造器 top.aoyudi.deepseek.entity.model.DeepSeekModel
 
DeepSeekModelEnum - top.aoyudi.deepseek.entity.enums中的Enum Class
DeepSeek 模型枚举 用于表示不同的 DeepSeek 模型
DeepSeekModelEnum(String) - enum class的构造器 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
内部构造函数
deepSeekProperties - 类中的变量 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
DeepSeekProperties - top.aoyudi.starter中的类
DeepSeek 自动配置实体
DeepSeekProperties() - 类的构造器 top.aoyudi.starter.DeepSeekProperties
 
DeepSeekReasonerModel - top.aoyudi.deepseek.entity.model中的类
DeepSeek 带有思考的对话模型——自己定义并配置Bean
DeepSeekReasonerModel() - 类的构造器 top.aoyudi.deepseek.entity.model.DeepSeekReasonerModel
 
DeepSeekRequest - top.aoyudi.deepseek.entity.request中的类
DeepSeek 请求体
DeepSeekRequest() - 类的构造器 top.aoyudi.deepseek.entity.request.DeepSeekRequest
 
DeepSeekRoleEnum - top.aoyudi.deepseek.entity.enums中的Enum Class
DeepSeek 角色枚举类 定义不同的角色类型
DeepSeekRoleEnum(String) - enum class的构造器 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
内部构造函数
deepSeekService(DeepSeekProperties) - 类中的方法 top.aoyudi.starter.DeepSeekAutoConfiguration
Chat服务实例注册
DeepSeekService - top.aoyudi.deepseek.service中的类
DeepSeek 服务类 用于与 DeepSeek API 进行交互
DeepSeekService(DeepSeekProperties) - 类的构造器 top.aoyudi.deepseek.service.DeepSeekService
构造函数,初始化 DeepSeekProperties 和 RestTemplate
deepSeekStreamService(DeepSeekProperties) - 类中的方法 top.aoyudi.starter.DeepSeekAutoConfiguration
Stream流式服务注册
DeepSeekStreamService - top.aoyudi.deepseek.service中的类
DeepSeek 流服务类 用于处理流式输出
DeepSeekStreamService(DeepSeekProperties) - 类的构造器 top.aoyudi.deepseek.service.DeepSeekStreamService
构造函数,初始化 DeepSeekProperties 和 RestTemplate
DEFAULT_CHUNK_OVERLAP - 类中的静态变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
默认块重叠(字符数)
DEFAULT_CHUNK_SIZE - 类中的静态变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
默认块大小(字符数)
DEFAULT_SEPARATORS - 类中的静态变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
默认分隔符列表(按优先级排序)
deleteRepository(String) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
deleteRepository(String) - 接口中的方法 top.aoyudi.rag.VectorStore
删除指定仓库及其所有文档
delta - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespChoice
流式返回的消息对象
description - enum class中的变量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
描述
description - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqFunction
function 的功能描述, 供模型理解何时以及如何调用该 function。
description - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters.Property
参数的描述
description() - annotation interface 中的元素 top.aoyudi.deepseek.annotation.ToolFunction
功能描述
description() - annotation interface 中的元素 top.aoyudi.deepseek.annotation.ToolParam
参数描述 大模式能清晰看懂
document - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore.DocumentScore
 
Document - top.aoyudi.rag.properties中的类
文档模型类,用于表示RAG系统中的文档数据
Document() - 类的构造器 top.aoyudi.rag.properties.Document
 
DocumentEmbeddingGenerator - top.aoyudi.rag.impl中的类
 
DocumentEmbeddingGenerator() - 类的构造器 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 
DocumentLoader - top.aoyudi.rag中的接口
文档加载器接口,定义从不同来源加载文档的方法
DocumentScore(Document, float) - 类的构造器 top.aoyudi.rag.impl.InMemoryVectorStore.DocumentScore
 
DSAssistantReqMessage - top.aoyudi.deepseek.entity.request.message中的类
DeepSeek AI助理请求 消息 貌似用不到
DSAssistantReqMessage() - 类的构造器 top.aoyudi.deepseek.entity.request.message.DSAssistantReqMessage
 
DSBalance - top.aoyudi.deepseek.entity.response.balance中的类
 
DSBalance() - 类的构造器 top.aoyudi.deepseek.entity.response.balance.DSBalance
 
DSBalance.BalanceInfo - top.aoyudi.deepseek.entity.response.balance中的类
 
DSReqFunction - top.aoyudi.deepseek.entity.request.tool中的类
请求——DeepSeek调用的功能函数
DSReqFunction() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqFunction
 
dsReqFunctionMap - 类中的静态变量 top.aoyudi.deepseek.handler.ToolRegister
工具
DSReqTool - top.aoyudi.deepseek.entity.request.tool中的类
DeepSeek 工具请求
DSReqTool() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqTool
 
DSReqToolChoice - top.aoyudi.deepseek.entity.request.tool中的类
 
DSReqToolChoice() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqToolChoice
 
DSReqToolChoice.Function - top.aoyudi.deepseek.entity.request.tool中的类
 
DSReqToolParameters - top.aoyudi.deepseek.entity.request.tool中的类
function 的输入参数
DSReqToolParameters() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters
 
DSReqToolParameters.Property - top.aoyudi.deepseek.entity.request.tool中的类
 
DSRespChoice - top.aoyudi.deepseek.entity.response中的类
DeepSeek 选择项
DSRespChoice() - 类的构造器 top.aoyudi.deepseek.entity.response.DSRespChoice
 
DSRespFunction - top.aoyudi.deepseek.entity.response.function中的类
返回————DeepSeek模型调用的 function
DSRespFunction() - 类的构造器 top.aoyudi.deepseek.entity.response.function.DSRespFunction
 
DSRespMessage - top.aoyudi.deepseek.entity.response.message中的类
响应实体
DSRespMessage() - 类的构造器 top.aoyudi.deepseek.entity.response.message.DSRespMessage
 
DSResponse - top.aoyudi.deepseek.entity.response中的类
DeepSeek 响应体 {"id":"dab94aa4-ebb8-4689-bc60-154ae60cd097", "object":"chat.completion.chunk", "created":1741797681, "model":"deepseek-reasoner", "system_fingerprint":"", "choices":[], "usage":{} }"
DSResponse() - 类的构造器 top.aoyudi.deepseek.entity.response.DSResponse
 
DSRespToolCalls - top.aoyudi.deepseek.entity.response.function中的类
返回————模型生成的 tool 调用,例如 function 调用。
DSRespToolCalls() - 类的构造器 top.aoyudi.deepseek.entity.response.function.DSRespToolCalls
 
DSRespUsage - top.aoyudi.deepseek.entity.response中的类
DeepSeek 使用情况
DSRespUsage() - 类的构造器 top.aoyudi.deepseek.entity.response.DSRespUsage
 
DSSystemReqMessage - top.aoyudi.deepseek.entity.request.message中的类
DeepSeek 系统提示请求 消息
DSSystemReqMessage() - 类的构造器 top.aoyudi.deepseek.entity.request.message.DSSystemReqMessage
 
DSToolReqMessage - top.aoyudi.deepseek.entity.request.message中的类
DeepSeek 工具调用请求 消息
DSToolReqMessage() - 类的构造器 top.aoyudi.deepseek.entity.request.message.DSToolReqMessage
 
DSUserReqMessage - top.aoyudi.deepseek.entity.request.message中的类
DeepSeek 用户请求消息 消息
DSUserReqMessage() - 类的构造器 top.aoyudi.deepseek.entity.request.message.DSUserReqMessage
 

E

EMBEDDING_DIMENSION - 类中的静态变量 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 
EMBEDDING_DIMENSION - 类中的静态变量 top.aoyudi.rag.impl.SimpleEmbeddingGenerator
嵌入向量维度
embeddingGenerator - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore
 
embeddingGenerator() - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
EmbeddingGenerator - top.aoyudi.rag中的接口
嵌入生成器接口,定义文本转向量的功能
ErrorCodeEnum - top.aoyudi.deepseek.entity.enums中的Enum Class
错误码枚举
ErrorCodeEnum(int, String, String) - enum class的构造器 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
内部构造函数
executeTool(String, String) - 类中的静态方法 top.aoyudi.deepseek.handler.ToolExecutor
执行工具(请手动执行)
extractMetadata(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
提取文件元数据

F

fileSystemDocumentLoader() - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
FileSystemDocumentLoader - top.aoyudi.rag.impl中的类
文件系统文档加载器,从本地文件系统加载文档
FileSystemDocumentLoader() - 类的构造器 top.aoyudi.rag.impl.FileSystemDocumentLoader
 
FinallyRequestBody - top.aoyudi.deepseek.entity.request中的类
DeepSeek最终请求体——不直接使用,请创建DeepSeekRequest
FinallyRequestBody(DeepSeekRequest) - 类的构造器 top.aoyudi.deepseek.entity.request.FinallyRequestBody
构造
findFiles(String) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
查找指定目录下所有符合条件的文件(包括子目录)
findSeparator(String, List<String>) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
查找文本中可用的最高优先级分隔符
finish_reason - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespChoice
完成原因
frequency_penalty - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
介于 -2.0 和 2.0 之间的数字。
frequency_penalty - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
降低模型重复相同内容的可能性
fromCode(int) - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
根据状态码获取枚举实例的方法
function - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqTool
要调用的工具
function - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolChoice
 
function - 类中的变量 top.aoyudi.deepseek.entity.response.function.DSRespToolCalls
模型调用的 function。
Function() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqToolChoice.Function
 
function_name_list - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
调用工具

G

generate(String) - 接口中的方法 top.aoyudi.rag.EmbeddingGenerator
将文本转换为向量表示
generate(String) - 类中的方法 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 
generate(String) - 类中的方法 top.aoyudi.rag.impl.SimpleEmbeddingGenerator
 
generateEmbedding(List<String>) - 类中的方法 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
基于词频和词汇表生成嵌入向量
getBalance() - 类中的方法 top.aoyudi.deepseek.service.DeepSeekBalanceService
获取余额
getChoicesCount() - 类中的方法 top.aoyudi.deepseek.entity.response.DSResponse
添加获取 choices 数量的方法
getDsReqFunction(String) - 类中的静态方法 top.aoyudi.deepseek.handler.ToolRegister
 
getFileExtension(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
获取文件扩展名
getModelName() - enum class中的方法 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
获取模型名称
getRole() - enum class中的方法 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
获取角色
granted_balance - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance.BalanceInfo
 

H

handleResponse(ResponseEntity<DSBalance>) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
handleResponse(ResponseEntity<DSResponse>) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekService
 

I

id - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
响应的唯一标识符
id - 类中的变量 top.aoyudi.deepseek.entity.response.function.DSRespToolCalls
tool 调用的 ID。
index - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespChoice
选择项的索引
InMemoryVectorStore - top.aoyudi.rag.impl中的类
内存实现的向量存储仓库
InMemoryVectorStore(EmbeddingGenerator, TextSplitter, VectorSimilarityCalc) - 类的构造器 top.aoyudi.rag.impl.InMemoryVectorStore
 
InMemoryVectorStore.DocumentScore - top.aoyudi.rag.impl中的类
辅助类用于存储文档和相似度分数
INTERNAL_SERVER_ERROR - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
is_available - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance
 

J

jsonProcessor(String) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekStreamService
 

L

listRepositories() - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
listRepositories() - 接口中的方法 top.aoyudi.rag.VectorStore
列出所有现有仓库
loadDocument(String) - 接口中的方法 top.aoyudi.rag.DocumentLoader
加载单个文档
loadDocument(String) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
 
loadDocuments(List<String>) - 接口中的方法 top.aoyudi.rag.DocumentLoader
批量加载文档
loadDocuments(List<String>) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
 
loadDocumentsFromPath(String) - 接口中的方法 top.aoyudi.rag.DocumentLoader
加载指定路径下的所有符合条件的文档
loadDocumentsFromPath(String) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
 
logger - 类中的静态变量 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
logger - 类中的静态变量 top.aoyudi.deepseek.service.DeepSeekService
 
logger - 类中的静态变量 top.aoyudi.deepseek.service.DeepSeekStreamService
 
logprobs - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespChoice
日志概率

M

max_tokens - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
介于 1 到 8192 间的整数, 限制一次请求中模型生成 completion 的最大 token 数。
max_tokens - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
限制一次请求中模型生成 completion 的最大 token 数
mergeSplits(List<String>, String) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
合并分割结果并添加重叠
message - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespChoice
非流式返回的消息对象
messages - 类中的变量 top.aoyudi.deepseek.entity.request.DeepSeekRequest
消息列表
messages - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
消息列表
metadata - 类中的变量 top.aoyudi.rag.properties.Document
文档元数据
method - 类中的变量 top.aoyudi.deepseek.handler.ToolExecutor
方法
model - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekChatModel
 
model - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekReasonerModel
 
model - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
模型id
model - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
使用的模型名称
modelName - enum class中的变量 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
 

N

name - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSAssistantReqMessage
 
name - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSSystemReqMessage
 
name - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSUserReqMessage
 
name - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqFunction
要调用的 function 名称。
name - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolChoice.Function
 
name - 类中的变量 top.aoyudi.deepseek.entity.response.function.DSRespFunction
模型调用的 function 名
name() - annotation interface 中的元素 top.aoyudi.deepseek.annotation.ToolParam
参数名称
normalizeVector(float[]) - 类中的方法 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
归一化向量

O

object - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
响应的类型
objectMapper - 类中的静态变量 top.aoyudi.deepseek.handler.ToolExecutor
序列化对象
of(String) - 类中的静态方法 top.aoyudi.rag.properties.Document
创建文档实例的便捷方法
of(String, Map<String, Object>) - 类中的静态方法 top.aoyudi.rag.properties.Document
创建带元数据的文档实例

P

parameters - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqFunction
function 的输入参数, 以 JSON Schema 对象描述。
parseArguments(Method, String) - 类中的静态方法 top.aoyudi.deepseek.handler.ToolExecutor
解析参数
parseLineToDSResponse(String) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekStreamService
解析每一行数据为 DSResponse 对象
PAYMENT_REQUIRED - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
postProcessAfterInitialization(Object, String) - 类中的方法 top.aoyudi.deepseek.handler.ToolFunctionPostProcessor
扫描带有 @ToolFunction的方法进行工具方法 注册
preprocessText(String) - 类中的方法 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
文本预处理:分词、小写转换、过滤
presence_penalty - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
介于 -2.0 和 2.0 之间的数字。
presence_penalty - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
从而增加模型谈论新主题的可能性。
prompt_cache_hit_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
提示缓存命中令牌数
prompt_cache_miss_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
提示缓存未命中令牌数
prompt_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
提示令牌数
properties - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters
实体
properties - 类中的变量 top.aoyudi.deepseek.service.DeepSeekService
 
properties - 类中的变量 top.aoyudi.deepseek.service.DeepSeekStreamService
 
properties - 类中的变量 top.aoyudi.starter.DeepSeekConfig
 
Property() - 类的构造器 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters.Property
 

R

RagAutoConfiguration - top.aoyudi.rag.config中的类
RAG功能自动配置类,注册RAG相关组件Bean
RagAutoConfiguration() - 类的构造器 top.aoyudi.rag.config.RagAutoConfiguration
 
ragProperties - 类中的变量 top.aoyudi.rag.config.RagAutoConfiguration
 
RagProperties - top.aoyudi.rag.properties中的类
RAG功能配置属性类,绑定应用配置文件中的RAG相关参数
RagProperties() - 类的构造器 top.aoyudi.rag.properties.RagProperties
 
ragUtils(VectorStore) - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
RagUtils - top.aoyudi.rag.util中的类
RAG服务类
RagUtils(VectorStore) - 类的构造器 top.aoyudi.rag.util.RagUtils
 
readDocxContent(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
使用Apache POI读取DOCX文件内容
readFileContent(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
读取文件内容
readMarkdownFile(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
读取Markdown文件内容,进行基本处理
readTextFile(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
读取文本文件内容,支持指定编码
reason - enum class中的变量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
原因
REASONER - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
 
reasoning_content - 类中的变量 top.aoyudi.deepseek.entity.response.message.DSRespMessage
仅适用于 deepseek-reasoner 模型 reasoning_content
RecursiveCharacterTextSplitter - top.aoyudi.rag.impl中的类
递归字符文本分割器,按自然边界分割文本为指定大小的块
RecursiveCharacterTextSplitter() - 类的构造器 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
使用默认参数创建文本分割器
RecursiveCharacterTextSplitter(int, int, List<String>) - 类的构造器 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
创建自定义参数的文本分割器
registerTool(Object, Method, DSReqFunction) - 类中的静态方法 top.aoyudi.deepseek.handler.ToolRegister
自动注册工具
repositoryDocuments - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore
 
required - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters
是否必须
required() - annotation interface 中的元素 top.aoyudi.deepseek.annotation.ToolParam
是否必填
restTemplate - 类中的变量 top.aoyudi.deepseek.service.DeepSeekBalanceService
 
restTemplate - 类中的变量 top.aoyudi.deepseek.service.DeepSeekService
 
restTemplate - 类中的变量 top.aoyudi.deepseek.service.DeepSeekStreamService
 
role - 类中的变量 top.aoyudi.chat.entity.ChatMessage
消息的角色,例如 "user" 或 "assistant" 等
role - enum class中的变量 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
 
role - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSAssistantReqMessage
 
role - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSSystemReqMessage
 
role - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSToolReqMessage
 
role - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSUserReqMessage
 

S

score - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore.DocumentScore
 
sendMessage(DeepSeekRequest) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekService
发送消息到 DeepSeek API,并返回响应
sendMessageWithStream(DeepSeekRequest) - 类中的方法 top.aoyudi.deepseek.service.DeepSeekStreamService
发送消息到 DeepSeek API,并返回响应
separators - 类中的变量 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
SERVICE_UNAVAILABLE - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
similaritySearch(String, float[]) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
similaritySearch(String, float[]) - 接口中的方法 top.aoyudi.rag.VectorStore
根据查询向量从指定仓库检索相似文档
similaritySearch(String, String) - 类中的方法 top.aoyudi.rag.impl.InMemoryVectorStore
 
similaritySearch(String, String) - 接口中的方法 top.aoyudi.rag.VectorStore
根据查询文本从指定仓库检索相似文档(内部会自动生成向量)
SimpleEmbeddingGenerator - top.aoyudi.rag.impl中的类
无模型嵌入生成器,使用简单哈希算法生成文本向量
SimpleEmbeddingGenerator() - 类的构造器 top.aoyudi.rag.impl.SimpleEmbeddingGenerator
 
splitDocument(Document) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
splitDocument(Document) - 接口中的方法 top.aoyudi.rag.TextSplitter
将文档分割成块
splitText(String) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
splitText(String) - 接口中的方法 top.aoyudi.rag.TextSplitter
将文本分割成块
splitText(String, int, int, List<String>) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
递归分割文本为指定大小的块
splitTextWithMetadata(String, Map<String, Object>) - 类中的方法 top.aoyudi.rag.impl.RecursiveCharacterTextSplitter
 
splitTextWithMetadata(String, Map<String, Object>) - 接口中的方法 top.aoyudi.rag.TextSplitter
将带元数据的文本分割成块
stream - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekChatModel
 
stream - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekReasonerModel
 
stream - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
是否流式输出
SUPPORTED_EXTENSIONS - 类中的静态变量 top.aoyudi.rag.impl.FileSystemDocumentLoader
 
SYSTEM - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
 
system_fingerprint - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
此指纹表示模型运行时使用的后端配置。

T

temperature - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
采样温度,介于 0 和 2 之间。
temperature - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
采样温度,介于 0 和 2 之间。
textSplitter - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore
 
textSplitter() - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
TextSplitter - top.aoyudi.rag中的接口
文本分割器接口,定义文档分割功能
TOO_MANY_REQUESTS - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
TOOL - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
 
tool_call_id - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSToolReqMessage
 
tool_calls - 类中的变量 top.aoyudi.deepseek.entity.response.message.DSRespMessage
模型生成的 tool 调用,例如 function 调用。
tool_choice - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
可以是 String 或 ToolChoice 对象
tool_choice - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
可以是 String 或 ToolChoice 对象
ToolExecutor - top.aoyudi.deepseek.handler中的类
工具执行器——调用executeTool手动执行
ToolExecutor() - 类的构造器 top.aoyudi.deepseek.handler.ToolExecutor
 
ToolFunction - top.aoyudi.deepseek.annotation中的Annotation Interface
工具方法注解
ToolFunctionPostProcessor - top.aoyudi.deepseek.handler中的类
工具后处理器 注册工具
ToolFunctionPostProcessor() - 类的构造器 top.aoyudi.deepseek.handler.ToolFunctionPostProcessor
 
ToolParam - top.aoyudi.deepseek.annotation中的Annotation Interface
工具参数注解
ToolRegister - top.aoyudi.deepseek.handler中的类
工具注册器
ToolRegister() - 类的构造器 top.aoyudi.deepseek.handler.ToolRegister
 
tools - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
工具
tools - 类中的静态变量 top.aoyudi.deepseek.handler.ToolRegister
工具执行器
TOP_K_WORDS - 类中的静态变量 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 
top_p - 类中的变量 top.aoyudi.deepseek.entity.model.DeepSeekModel
作为调节采样温度的替代方案,模型会考虑前 top_p 概率的 token 的结果。
top_p - 类中的变量 top.aoyudi.deepseek.entity.request.FinallyRequestBody
作为调节采样温度的替代方案,模型会考虑前 top_p 概率的 token 的结果。
top.aoyudi.chat.entity - 程序包 top.aoyudi.chat.entity
 
top.aoyudi.deepseek.annotation - 程序包 top.aoyudi.deepseek.annotation
 
top.aoyudi.deepseek.entity.enums - 程序包 top.aoyudi.deepseek.entity.enums
 
top.aoyudi.deepseek.entity.model - 程序包 top.aoyudi.deepseek.entity.model
 
top.aoyudi.deepseek.entity.request - 程序包 top.aoyudi.deepseek.entity.request
 
top.aoyudi.deepseek.entity.request.message - 程序包 top.aoyudi.deepseek.entity.request.message
 
top.aoyudi.deepseek.entity.request.tool - 程序包 top.aoyudi.deepseek.entity.request.tool
 
top.aoyudi.deepseek.entity.response - 程序包 top.aoyudi.deepseek.entity.response
 
top.aoyudi.deepseek.entity.response.balance - 程序包 top.aoyudi.deepseek.entity.response.balance
 
top.aoyudi.deepseek.entity.response.function - 程序包 top.aoyudi.deepseek.entity.response.function
 
top.aoyudi.deepseek.entity.response.message - 程序包 top.aoyudi.deepseek.entity.response.message
 
top.aoyudi.deepseek.handler - 程序包 top.aoyudi.deepseek.handler
 
top.aoyudi.deepseek.service - 程序包 top.aoyudi.deepseek.service
 
top.aoyudi.rag - 程序包 top.aoyudi.rag
 
top.aoyudi.rag.config - 程序包 top.aoyudi.rag.config
 
top.aoyudi.rag.impl - 程序包 top.aoyudi.rag.impl
 
top.aoyudi.rag.properties - 程序包 top.aoyudi.rag.properties
 
top.aoyudi.rag.util - 程序包 top.aoyudi.rag.util
 
top.aoyudi.starter - 程序包 top.aoyudi.starter
 
topped_up_balance - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance.BalanceInfo
 
total_balance - 类中的变量 top.aoyudi.deepseek.entity.response.balance.DSBalance.BalanceInfo
 
total_tokens - 类中的变量 top.aoyudi.deepseek.entity.response.DSRespUsage
总令牌数
type - 类中的变量 top.aoyudi.deepseek.entity.request.message.DSToolReqMessage
 
type - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqTool
类型——目前官方仅支持function
type - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolChoice
 
type - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters.Property
参数类型
type - 类中的变量 top.aoyudi.deepseek.entity.request.tool.DSReqToolParameters
工具类型
type - 类中的变量 top.aoyudi.deepseek.entity.response.function.DSRespToolCalls
tool 的类型。
type() - annotation interface 中的元素 top.aoyudi.deepseek.annotation.ToolParam
参数类型 (string/number/boolean/object)

U

UNAUTHORIZED - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
UNPROCESSABLE_ENTITY - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
 
updateVocabulary(List<String>) - 类中的方法 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
更新词汇表,只保留高频词
usage - 类中的变量 top.aoyudi.deepseek.entity.response.DSResponse
使用情况信息
USER - enum class 中的枚举常量 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
 

V

validateFile(Path) - 类中的方法 top.aoyudi.rag.impl.FileSystemDocumentLoader
验证文件是否存在且支持
valueOf(String) - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
Returns the enum constant of this class with the specified name.
values() - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.DeepSeekModelEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.DeepSeekRoleEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 top.aoyudi.deepseek.entity.enums.ErrorCodeEnum
Returns an array containing the constants of this enum class, in the order they are declared.
vector - 类中的变量 top.aoyudi.rag.properties.Document
文档向量
vectorSimilarityCalc - 类中的变量 top.aoyudi.rag.impl.InMemoryVectorStore
 
vectorSimilarityCalc() - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
VectorSimilarityCalc - top.aoyudi.rag中的接口
 
VectorSimilarityCalcImpl - top.aoyudi.rag.impl中的类
 
VectorSimilarityCalcImpl() - 类的构造器 top.aoyudi.rag.impl.VectorSimilarityCalcImpl
 
vectorStore - 类中的变量 top.aoyudi.rag.util.RagUtils
 
vectorStore(EmbeddingGenerator, TextSplitter, VectorSimilarityCalc) - 类中的方法 top.aoyudi.rag.config.RagAutoConfiguration
 
VectorStore - top.aoyudi.rag中的接口
向量存储接口,定义向量的添加、查询和删除操作,支持多仓库(key-value形式)
vocabulary - 类中的变量 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 

W

WORD_PATTERN - 类中的静态变量 top.aoyudi.rag.impl.DocumentEmbeddingGenerator
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|常量字段值|所有程序包