Skip to content

Commit

Permalink
Merge pull request #13 from VishwamAI/feature/website-software-hardwa…
Browse files Browse the repository at this point in the history
…re-integration

Update CI/CD workflow for website deployment
  • Loading branch information
kasinadhsarma authored Aug 3, 2024
2 parents a7beaf8 + 7423dd0 commit 6fd9564
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 3 deletions.
40 changes: 37 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: Continuous Integration
name: Continuous Integration and Deployment

on: [push, pull_request]
on:
push:
branches:
- main
- website
- feature/website-software-hardware-integration
pull_request:
branches:
- main
- website
- feature/website-software-hardware-integration

jobs:
build:
Expand All @@ -17,4 +27,28 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
python -m unittest discover -s tests
python -m unittest discover -s tests
deploy-website:
needs: build
if: github.ref == 'refs/heads/website' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install website dependencies
run: |
cd website
npm ci
- name: Build website
run: |
cd website
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
41 changes: 41 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1>PikasuBirdAi Project</h1>
<ul>
<li><a href="#hardware-requirements">Hardware Requirements</a></li>
<li><a href="#technical-specifications">Technical Specifications</a></li>
<li><a href="#software-architecture">Software Architecture</a></li>
<li><a href="#integration-plans">Integration Plans</a></li>
<li><a href="#future-considerations">Future Considerations</a></li>
</ul>
Expand Down Expand Up @@ -141,6 +142,46 @@ <h2>Internal Memory</h2>
</ul>
<!-- Add visual representation of the memory system architecture here -->
</section>

<section id="software-architecture">
<h2>Software Architecture</h2>
<p>The PikasuBirdAi project utilizes a sophisticated software architecture to enable advanced bird detection, identification, and analysis capabilities:</p>
<h3>1. Open-Source GPT Models</h3>
<p>We integrate open-source GPT models to enhance our AI capabilities:</p>
<pre><code>
import os
from routellm.controller import Controller

os.environ["OPENAI_API_KEY"] = "sk-XXXXXX"
os.environ["ANYSCALE_API_KEY"] = "esecret_XXXXXX"

client = Controller(
routers=["mf"],
strong_model="gpt-4-1106-preview",
weak_model="anyscale/mistralai/Mixtral-8x7B-Instruct-v0.1",
)
</code></pre>
<p>These models contribute to various functionalities, including:</p>
<ul>
<li>Real-time bird species identification</li>
<li>Behavior analysis and prediction</li>
<li>Natural language processing for user queries</li>
</ul>

<h3>2. RouteLLM Integration</h3>
<p>RouteLLM enhances our system's ability to efficiently route queries to the most appropriate AI model, optimizing performance and resource utilization.</p>

<h3>3. Ollama Integration</h3>
<p>Ollama provides lightweight, customizable language models that we use for specific tasks such as quick bird feature extraction and preliminary classification.</p>

<h3>4. Custom AI Algorithms</h3>
<p>We've developed proprietary algorithms for:</p>
<ul>
<li>Flight pattern analysis</li>
<li>Environmental adaptation modeling</li>
<li>Migratory behavior prediction</li>
</ul>
</section>
</main>

<footer>
Expand Down

0 comments on commit 6fd9564

Please sign in to comment.