-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from dbpunk-labs/feat/change_key_prompt_to_pas…
…sword fix: use password prompt
- Loading branch information
Showing
7 changed files
with
120 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install dependencies | ||
run: pip install -U sphinx | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
run: | | ||
cd docs | ||
make html | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'docs/build/html/' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Getting Started | ||
=============== | ||
|
||
Octogen is an Open-Source Code Interpreter Powered by GPT 3.5/4 and Codellama. | ||
|
||
Requirements | ||
------------ | ||
|
||
Octopus works with macOs, Linux and Windows. | ||
Octopus requires the following enviroment | ||
|
||
- Python 3.10.0 and above. | ||
- `Pip <https://pip.pypa.io/en/stable/installation/>`_ | ||
- `Docker Desktop <https://www.docker.com/products/docker-desktop/>`_ | ||
|
||
To use codellama, your host must have at least 8 CPUs and 16 GB of RAM | ||
|
||
Install | ||
------- | ||
|
||
the first step, install ``og_up`` tool:: | ||
|
||
$ pip install og_up | ||
|
||
the second step, use ``og_up`` to setup the octopus service and cli:: | ||
|
||
$ og_up | ||
|
||
You have the option to select from | ||
|
||
- OpenAI | ||
- Azure OpenAI | ||
- CodeLlama | ||
- Octogen(beta) agent services | ||
|
||
If you opt for CodeLlama, Octogen will automatically download it from huggingface.co. | ||
In case the installation of the Octogen Terminal CLI is taking longer than expected, | ||
you might want to consider switching to a different pip mirror. | ||
|
||
the third step, open your terminal and execute the command ``og``, you will see the following output:: | ||
|
||
Welcome to use octogen❤️ . To ask a programming question, simply type your question and press esc + enter | ||
You can use /help to look for help | ||
|
||
[1]🎧> | ||
|
||
|
||
How to use | ||
---------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters