OpenInterpreter / open-interpreter

A natural language interface for computers
http://openinterpreter.com/
GNU Affero General Public License v3.0
50.58k stars 4.41k forks source link

Create examples directory #1275

Closed MikeBirdTech closed 1 week ago

MikeBirdTech commented 1 month ago

Describe the changes you have made:

Added a new top level directory for examples

Reference any relevant issues (e.g. "Fixes #000"):

The community wants examples, so let's give them examples!

Pre-Submission Checklist (optional but appreciated):

OS Tests (optional but appreciated):

KillianLucas commented 1 month ago

I love this idea @MikeBirdTech! Could you add to this folder the example google colab notebook, the .ipynb? If there's anything else like that, just simple examples, I think it would be great to have at least 1 in there.

LiquidMovz commented 2 weeks ago

I would love to see any examples of using subscription online model for codestral and Gemini Flash 😀

I'll contribute if I can figure out how to get it to stop defaulting to OpenAI, I'm 2 16 hour days into it so far...

MikeBirdTech commented 2 weeks ago

I would love to see any examples of using subscription online model for codestral and Gemini Flash 😀

I'll contribute if I can figure out how to get it to stop defaulting to OpenAI, I'm 2 16 hour days into it so far...

@LiquidMovz Do you mean in the command line or as a Python library?

CLI => interpreter --local Python => see the local3.ipynb in the PR

KillianLucas commented 2 weeks ago

Nice, thanks for the new examples @MikeBirdTech. Does this work on Google Colab though? I think same as the main example repo, it would be good to also host it on Google Colab and let people test it without installing anything. Then you could have an "open in Colab" button at the top, then we could put that in the README next to the other example colabs.

LiquidMovz commented 2 weeks ago

I would love to see any examples of using subscription online model for codestral and Gemini Flash 😀

I'll contribute if I can figure out how to get it to stop defaulting to OpenAI, I'm 2 16 hour days into it so far...

@LiquidMovz

Do you mean in the command line or as a Python library?

CLI => interpreter --local

Python => see the local3.ipynb in the PR

@MikeBirdTech I meant to be able to access the online subscriptions...I did figure it out with adding profiles, but took a lot of trial and error.

If there were samples, it would make life easier for others.

If you like I could cleanse and upload mine...I have mistral-large and Codestral working...lmk

MikeBirdTech commented 1 week ago

@KillianLucas updated the local3 notebook

@LiquidMovz Please feel free to make a PR with your examples. More will definitely help the community!

KillianLucas commented 1 week ago

Nice!! Thanks Mike. I have a feeling the Local Colab notebook will be huge— infinite, free, destructible sandbox.