Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create examples directory #1275

Merged
merged 7 commits into from
Jun 21, 2024
Merged

Conversation

MikeBirdTech
Copy link
Contributor

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):

  • I have included relevant documentation updates (stored in /docs)
  • I have read docs/CONTRIBUTING.md
  • I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • Tested on Windows
  • Tested on MacOS
  • Tested on Linux

@KillianLucas
Copy link
Collaborator

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
Copy link

LiquidMovz commented Jun 13, 2024

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
Copy link
Contributor Author

MikeBirdTech commented Jun 13, 2024

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
Copy link
Collaborator

KillianLucas commented Jun 15, 2024

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
Copy link

LiquidMovz commented Jun 15, 2024

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
Copy link
Contributor Author

@KillianLucas updated the local3 notebook

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

@KillianLucas KillianLucas merged commit c065618 into OpenInterpreter:main Jun 21, 2024
0 of 2 checks passed
@KillianLucas
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants