You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to suggest an enhancement to this project: supporting code generation and execution using Azure OpenAI and Azure Container Apps dynamic sessions.
Use Case
In many scenarios, especially technical or data-heavy contexts, it's useful to go beyond just generating code. Allowing users to execute the generated code (e.g. Python) inline and return results would open up more interactive and practical use cases - such as data analysis, file processing, or visualization. I have a basic working example, but it needs some work.
Potential Approach
Use an agent-based loop (LangChain or similar) to generate code.
Offload execution to a secure, ephemeral environment using Azure Container Apps session pools.
Return the result, including stdout, stderr, and any generated files or images, back to the UI.
Benefits
Adds practical utility to LLM responses.
Keeps code execution isolated and secure.
Enables building intelligent agents that can reason and act on data.
Would this be in scope for the project? If so, I’d be interested in discussing implementation options or contributing a prototype.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to suggest an enhancement to this project: supporting code generation and execution using Azure OpenAI and Azure Container Apps dynamic sessions.
Use Case
In many scenarios, especially technical or data-heavy contexts, it's useful to go beyond just generating code. Allowing users to execute the generated code (e.g. Python) inline and return results would open up more interactive and practical use cases - such as data analysis, file processing, or visualization. I have a basic working example, but it needs some work.
Potential Approach
Benefits
Would this be in scope for the project? If so, I’d be interested in discussing implementation options or contributing a prototype.
Beta Was this translation helpful? Give feedback.
All reactions