feat : 代码梳理 移除所有敏感密钥 通过环境变量方式配置
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from langchain.output_parsers import ResponseSchema, StructuredOutputParser
|
||||
from langchain_classic.output_parsers import ResponseSchema, StructuredOutputParser
|
||||
from langchain_community.chat_models import ChatTongyi
|
||||
from langchain_core.prompts import PromptTemplate
|
||||
|
||||
@@ -51,7 +51,7 @@ class ProjectInfoExtraction:
|
||||
return self.result_data
|
||||
|
||||
def llm_extraction_project_info(self):
|
||||
output = self.model(self._input.to_messages())
|
||||
output = self.model
|
||||
project_info = self.output_parser.parse(output.content)
|
||||
self.result_data = project_info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user