szczyglis-dev / py-gpt

Desktop AI Assistant powered by o1, GPT-4, GPT-4 Vision, Gemini, Claude, Llama 3, Bielik, DALL-E, Langchain, Llama-index, chat, vision, voice control, image generation and analysis, agents, command execution, file upload/download, speech synthesis and recognition, access to Web, memory, presets, assistants, plugins, and more. Linux, Windows, Mac
https://pygpt.net
MIT License
601 stars 114 forks source link

Question: how can i get an agent to install a library when it is missing? #67

Open loke-bager opened 4 months ago

loke-bager commented 4 months ago

Is there a way to get an agent to install a library when it is not part of the docker container?

i have tried Autogen, and it worked really for with one agent writing code, another running it, one looking at error messages and suggesting fixed, then loop.

not sure how to achieve something similar here?

for testing purposes i want to train a machine learning image classifier for the MNIST dataset.

szczyglis-dev commented 22 hours ago

Extended Code Interpreter plugin working in connection with Jupyter Notebook in Docker will be available soon. It will be possible to install missing libraries "on-the-fly" :)