Integration of DSPy with tm LLM agent 79/14979/15
authorggori <wjdxodlf012345@khu.ac.kr>
Thu, 25 Sep 2025 08:04:18 +0000 (08:04 +0000)
committerggori <wjdxodlf012345@khu.ac.kr>
Sun, 28 Sep 2025 12:33:12 +0000 (12:33 +0000)
commit8c8d449fe67b7b111c8d86e6b2d9590eb4622329
tree679c04237cd3c27a0e04ab8eca722e8af584b1aa
parent557c3b091ed67b8bdf91bd334f6da724aeafb459
Integration of DSPy with tm LLM agent

- Dockerfile
Add build-essential to Dockerfile for native extention compilation
- service
Implement the DSPy-based LLM agent as singleton class that initializes with API key and the model, and processes user requests in natural language.
- controller
Recieves API requests, forwards them to service agent, and returns the processed results.

Issue-Id: AIMLFW-249

Change-Id: I92ed260ef216de2e272e202c4584da75c77e5d0f
Signed-off-by: ggori <wjdxodlf012345@khu.ac.kr>
Dockerfile
requirements.txt
tox.ini
trainingmgr/controller/agent_controller.py
trainingmgr/service/agent_service.py [new file with mode: 0644]