Generative AIDeveloper ToolsDemo not connected
Multi-Model Code Converter
Converts Python to C++ or Rust through a provider-independent interface, then compiles and runs the output to compare models.
- Python
- LLM APIs
- Prompt Engineering
- C++
- Rust
- Gradio
Problem
Generated code is only useful if it compiles and behaves correctly, and different models produce very different results for the same task.
Approach
Built a provider-independent interface so multiple language models could be prompted the same way, then validated each conversion through automated compilation and execution checks.
Key features
- 01Provider-agnostic model interface for side-by-side comparison
- 02Prompt engineering for Python → C++ and Python → Rust conversion
- 03Automated compilation and execution checks on generated code
- 04Gradio UI to submit code, choose a target model and review output
Demo
A working deployment hasn't been connected for this project yet. It will appear here once a hosted link is added.
Next project
AI-Assisted SQL Analysis