SegmentFault 宣言

为了消除开发领域的知识不平等,我们建立了开放式协作的问答社区。欢迎你加入贡献自己的智慧。

最新评论
头像

俊逸的鞭炮:英语自我介绍 PPT 大纲
开场问候与引入
用简洁礼貌的英语问候听众,如 “Good morning/afternoon, everyone.”
简单介绍自己即将进行自我介绍,例如 “I'm glad to be here and introduce myself briefly.”
个人基本信息
姓名:清晰说出自己的名字,可补充昵称(如果有的话),如 “My name is [Your Name], you can call me [Nickname].”
年龄(可选):根据场合决定是否提及,“I'm [Age] years old.”
家乡:介绍自己来自哪里,可简单描述家乡特色,“I come from [Hometown], a city famous for [Feature].”
学业或职业经历
学生:说明所在学校、年级、专业,提及主要课程或学术成就,“I'm a [Grade] student at [School Name], majoring in [Major]. My main courses include [Courses], and I have achieved [Academic Achievements].”
职场人士:介绍目前所在公司、职位,主要工作职责和工作成果,“I work as a [Job Title] at [Company Name]. My main responsibilities are [Responsibilities], and I have accomplished [Work Achievements].”
兴趣爱好
列举 2-3 个主要兴趣爱好,说明喜欢的原因或从中获得的收获,“In my spare time, I like [Hobby 1], because [Reason 1]. I also enjoy [Hobby 2], which helps me [Gain].”
能力与优势
介绍自己的核心技能,如语言能力、计算机技能等,“I have a good command of [Language Skill], and I'm proficient in [Computer Skill].”
提及个人优势,如团队合作能力、沟通能力等,结合具体事例说明,“I'm good at teamwork. Once, [Specific Example].”
未来规划
短期规划:在当前学习或工作中的目标,“In the short term, I hope to [Short-term Goal] in my study/work.”
长期规划:对未来发展的设想,“In the long run, I aspire to [Long-term Goal].”
结尾致谢
感谢听众的聆听,表达期待,如 “Thank you for your attention. I'm looking forward to getting to know you better.”

头像

kexb:重装的话历史数据可能会有影响,需要把容器映射的历史数据删除

头像

kexb:试试看把 /opt/DataBack 删掉,记不太清了

头像

热情的电池_Bt1P9:很全面,感谢

头像

simon:开始可以建立连接,但是超时后报d.l.m.c.transport.http.SseEventListener : SSE channel failure
java.net.SocketTimeoutException: Read timed out
这个错误

头像

simon:在使用过程中 报 d.l.m.c.transport.http.SseEventListener : SSE channel failure
java.net.SocketTimeoutException: Read timed out 这个错误

@Bean(name = "mcpToolProvider")

@Scope("prototype")
public ToolProvider mcpToolProvider() {
    McpTransport transport = new HttpMcpTransport.Builder()
            .sseUrl(sseUrl)
            .logRequests(Boolean.parseBoolean(isLogRequests))
            .logResponses(Boolean.parseBoolean(isLogResponses))
            .timeout(Duration.ofSeconds(timeout * 2))
            .build();

    McpClient mcpClient = new DefaultMcpClient.Builder()
            .transport(transport)
            .toolExecutionTimeout(Duration.ofSeconds(timeout))
            .resourcesTimeout(Duration.ofSeconds(timeout))
            .promptsTimeout(Duration.ofSeconds(timeout))
            .pingTimeout(Duration.ofSeconds(timeout / 2))
            .build();

    List<ToolSpecification> toolSpecifications = mcpClient.listTools();
    logger.info("toolSpecifications={}", toolSpecifications);

    McpToolProvider mcpToolProvider = McpToolProvider.builder()
            .mcpClients(List.of(mcpClient))
            .build();

    return mcpToolProvider;
} 这个是关键代码
勋章奖励
更多