https://github.com/asadm/chota
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: asadm
- License: mit
- Language: JavaScript
- Default Branch: main
- Size: 2.11 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Chota [cho-taa]: Small • Apprentice • Helper for trivial tasks
Report Bug
·
Request Feature
About The Project
Chota is a developer that lives in your GitHub repo. You can assign it trivial coding tasks using Github Issues and it sends Pull Request with the solution. It is a young helper based on GPT-4 and GitHub Actions that can read your existing codebase, search the internet for research and question itself to avoid mistakes.
What's so special about it?
File-system Access: Chota uses Function Calling to access filesystem, search internet, open webpages and read them for research. Given a task, it can use these functions to read your existing codebase and search the internet for research.
Self-correction tricks: Current GPT models make mistakes when writing code. To solve that: Chota uses multi-agent techniques. It uses one prompt to generate the solution to your given task and then it uses a different prompt to verify the solution.
Git workflow: Chota sends solution in a PR, you can ask it to iterate on the task using the GitHub issue itself. Chota will update the PR with the new solution by looking at older context and the newly requested updates.
How to use it?
To use Chota, follow the below steps:
- Add the following
workflow.ymlfile to the.github/workflowsdirectory of your repo: ```yaml name: Chota Action
on: issues: types: [opened, edited] issue_comment: types: [created, edited]
jobs: branch-actions: runs-on: ubuntu-latest steps: - name: Checkout code uses: asadm/chota@3b117de11ebc90e7117895fbad57203c940cba05 with: GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }} OPENAIAPIKEY: ${{ secrets.OPENAIAPIKEY }} SERPAPIKEY: ${{ secrets.SERPAPIKEY }} ```
In your GitHub repo, go to
Settings>Actions>General. UnderWorkflow Permissions, toggle onRead & write permissions.Chota uses OpenAI and SERP API, so you will need to get API keys from these providers. Here are the steps to sign up and add these keys to your GitHub repository secrets:
- Sign up on OpenAI and generate the API key.
- Sign up on SERP API. The API key can be found on the homepage once you log in.
- Go to your GitHub repository.
- In the upper-right corner, click
Settings. - In the left sidebar, click
Secrets and variables>Actions. - Click
New repository secret. - Enter a name for the secret in the
Namefield, such asOPENAI_API_KEYorSERP_API_KEY. - Paste your API key into the
Valuefield. - Click
Add secretto save.
Once the above steps are done, you can create a new issue in your repository. Label it 'chota' and describe your task in the issue body.
License
MIT
Owner
- Name: Asad Memon
- Login: asadm
- Kind: user
- Location: San Francisco Bay Area
- Website: https://asadmemon.com
- Repositories: 13
- Profile: https://github.com/asadm
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Asad Memon | a****k@g****m | 85 |
| Action Bot | b****t@d****m | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 3
- Total pull requests: 2
- Average time to close issues: 30 minutes
- Average time to close pull requests: less than a minute
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 3.67
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- asadm (2)
- mujtabachang (1)
Pull Request Authors
- asadm (2)