Skip to content

Comments

Chenn#1

Open
rowingchenn wants to merge 2 commits intomainfrom
chenn
Open

Chenn#1
rowingchenn wants to merge 2 commits intomainfrom
chenn

Conversation

@rowingchenn
Copy link

改了 LLM 配置,更加 modularized, configurable,后续会把本地运行模型的配置也加进去,然后还想把 agent 的模型配置提到 main 函数统一配置后再传参给 class。

同时,OpenAI model 使用了 response_format来规定 API 返回格式,避免了很多麻烦,也让 agent 更 robust。按照不同agent 需要的不同输出格式去设计pydantic class, 保证返回对象符合要求格式。

配置了 logging,充分观察每一个 agent 行为以及迭代过程。

优化了 dataloader, prompt,以及代码架构,使得项目可构建。

Weichen Zhang added 2 commits January 22, 2025 20:26
…ut format in risk_analyzer and pattern_extraction
…d critic agent to use new LLM client. Fixed some minor problems in prompt and dataloader. Ran main succesfully and got good logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant