soda
soda
server.py:17: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def accept_server(server_reader, server_writer): server.py:21: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def...
spring boot的版本 ``` org.springframework.boot spring-boot-starter-parent 2.7.14 ``` spring boot中tomcat的版本是:tomcat-embed-core-9.0.78.jar 控制台报错信息是: ``` org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.ClassCastException: org.apache.logging.h.JSONUtil cannot be cast to org.springframework.web.servlet.HandlerInterceptor ``` `org.apache.logging.h.JSONUtil`是生成的注入器类名
在某些场景下,ChatOpenAI无法使用,需要基于LLM自定义Model,但是参考项目中接入langchain的模型,缺少了with_structured_output方法,而原项目中存在着这样的方法,导致使用langchain接入模型也无法使用。 参考项目中的LLaMa3接入langchain的方法: https://github.com/datawhalechina/self-llm/blob/master/models/LLaMA3/02-LLaMA3-8B-Instruct%20langchain%20%E6%8E%A5%E5%85%A5.md