Comments (3)
Hi @sankethgadadinni! Definitely, in fact on some operating systems like Mac you can already do this by dragging a file into your terminal. This will paste in the file or folder's absolute path, which is all Open Interpreter needs to work with it. We should add a video demo soon:
$: interpreter
> Hey can you resize this photo to 1000x1000?
(try dragging a file in at this point, which pastes its absolute path on some systems)
/Users/killianlucas/Desktop/photo.png
Sure, I can help with that. Here's the plan:
1. First, I will check if the required Python library PIL (Pillow) is installed on your system...
Related: #1 for a discussion of a UI that would support file dropping, conversation history, image display, etc. We'll need to do this to support operating systems that don't support dragging and dropping into terminal, or figure out how to use curses
or dragon
.
What OS do you use? It would be great if we knew which systems supported this behavior (I only know Mac does) then we could add that to the documentation.
from open-interpreter.
It would be great if we knew which systems supported this behavior (I only know Mac does) then we could add that to the documentation.
I tested it (dragging a file into the interpreter chat CLI + see if the path gets pasted + if the interpreter finds the path and file) with
- Ubuntu 23
- Windows 11 CLI
--> Worked on both systems, too, without issues
from open-interpreter.
Thanks @nirvor! Just updated the documentation with a demo.
I think we can consider drag-and-drop to be a core/supported feature of Open Interpreter instead of specifying supported systems — Windows + Ubuntu + Mac is cross-platform enough for me. Let's make a note in the docs of it not working on any systems/terminals though, if we find them.
from open-interpreter.
Related Issues (20)
- How to Extract Complete, Non-redundant, and Correct Code from Messages Testing on Benchmarks like HumanEval? HOT 5
- %info ubuntu 22 no output HOT 2
- When use ollama with model llama3:70b, the code cannot run HOT 11
- Can Not Start a New Chat in Terminal
- 'computer' module not found
- The interpreter cannot install required dependencies by itself.
- ollama llama3 How to remove the first line " ` " when generating code in Windows 11 terminal HOT 3
- Cannot run scripts that arent python HOT 5
- After the task is completed, the task will be executed repeatedly and will not stop automatically; intermittent and continuous repeated output HOT 3
- Adding Groq Support HOT 1
- litellm.exceptions.ServiceUnavailableError: AnthropicException - anthropic does not support parameters: {'functions'
- You can see what's on the screen and go to My Downloads
- role inversion with llama 3 "You are Open Interpreter"
- Hosted multimodal models from Open Router currently don't work on Open Interpreter HOT 2
- Adding the 'Computer' destroyed open intererpreter which was the best product i used HOT 9
- Installation fails without specifying full Python version in one-liner `oi-mac-installer.sh`
- Termux: tip and report, each time during upgrade
- In VSCode terminal, generated code blocks & errors progressively repeat in a flashing way
- "open terminal failed: not a terminal"
- Password-input prompt from OS was removed from the terminal when OI try to run `sudo` commands. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-interpreter.