https://github.com/vauth/copilot
https://github.com/vauth/copilot
copilot github github-copilot gpt-4
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vauth/copilot
- Owner: Vauth
- Created: 2024-03-31T12:07:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T14:42:28.000Z (about 2 years ago)
- Last Synced: 2025-06-26T00:04:05.423Z (12 months ago)
- Topics: copilot, github, github-copilot, gpt-4
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github Copilot Completions
### 🗝 Signup copilot:
#### First signup for [github copilot](https://github.com/github-copilot/signup) in order to activate the worker, or (`ERROR: Resource not accessible by integration`) .
### 🔗 Get access token:
```python
print(GetAccessToken())
```
#### Replace the output with `ACCESS_TOKEN` in `main.py` .
### 🚀 Run
```python
print(Copilot("Hello world app with python"))
```
#### Returns `string` type output with `markdown` parse .
### 🔮 Supported models:
| Name |
:---:
gpt-4
gpt-3.5-turbo
text-davinci-003
text-davinci-002
text-davinci-001
text-curie-001
text-babbage-001
text-ada-001
davinci
curie
babbage
ada
code-davinci-002
code-davinci-001
code-cushman-002
code-cushman-001
davinci-codex
cushman-codex
text-davinci-edit-001
code-davinci-edit-001
text-embedding-ada-002
text-similarity-davinci-001
text-similarity-curie-001
text-similarity-babbage-001
text-similarity-ada-001
text-search-davinci-doc-001
text-search-curie-doc-001
text-search-babbage-doc-001
text-search-ada-doc-001
code-search-babbage-code-001
code-search-ada-code-001
gpt2
#### Replace `MODEL` with your prefered model in `main.py` .