TaskWeaver icon indicating copy to clipboard operation
TaskWeaver copied to clipboard

how to modify taskweaver if my plugin is writeen in c++ language, and I need the llm generate the c++ code and call the c++ plguin

Open pily1 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

"How do I modify Taskweaver if my plugin is written in C++ and I need LLVM to generate the C++ code and call the C++ plugin? What steps should I follow to change from generated Python code to C++ code?"

pily1 avatar Oct 14 '24 05:10 pily1

No, I don't think C++ could be supported here as the backend engine is only for Python. If you really need to exploit your C++ code, I think the only way is to somehow wrap it as something callable from Python.

liqul avatar Jan 26 '25 03:01 liqul