Skip to content

Commit

Permalink
Merge pull request #166 from MervinPraison/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
MervinPraison authored Oct 8, 2024
2 parents 45e07ec + 8220738 commit 6c4f3da
Show file tree
Hide file tree
Showing 10 changed files with 1,833 additions and 123 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install flask praisonai==0.1.0 gunicorn markdown
RUN pip install flask praisonai==0.1.1 gunicorn markdown
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ Praison AI, leveraging both AutoGen and CrewAI or any other agent framework, rep

## Key Features

- Automated AI Agents Creation
- Use CrewAI or AutoGen Framework
- 100+ LLM Support
- Chat with ENTIRE Codebase
- Interactive UIs
- YAML-based Configuration
- Custom Tool Integration
- Internet Search Capability (using Crawl4AI and Tavily)
- Vision Language Model (VLM) Support
- Real-time Voice Interaction
- 🤖 Automated AI Agents Creation
- 🔄 Use CrewAI or AutoGen Framework
- 💯 100+ LLM Support
- 💻 Chat with ENTIRE Codebase
- 🖥️ Interactive UIs
- 📄 YAML-based Configuration
- 🛠️ Custom Tool Integration
- 🔍 Internet Search Capability (using Crawl4AI and Tavily)
- 👁️ Vision Language Model (VLM) Support
- 🎙️ Real-time Voice Interaction

## TL;DR Multi Agents

Expand Down
2 changes: 1 addition & 1 deletion docs/api/praisonai/deploy.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 id="raises">Raises</h2>
file.write(&#34;FROM python:3.11-slim\n&#34;)
file.write(&#34;WORKDIR /app\n&#34;)
file.write(&#34;COPY . .\n&#34;)
file.write(&#34;RUN pip install flask praisonai==0.1.0 gunicorn markdown\n&#34;)
file.write(&#34;RUN pip install flask praisonai==0.1.1 gunicorn markdown\n&#34;)
file.write(&#34;EXPOSE 8080\n&#34;)
file.write(&#39;CMD [&#34;gunicorn&#34;, &#34;-b&#34;, &#34;0.0.0.0:8080&#34;, &#34;api:app&#34;]\n&#39;)

Expand Down
354 changes: 267 additions & 87 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion praisonai.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Praisonai < Formula

desc "AI tools for various AI applications"
homepage "https://github.com/MervinPraison/PraisonAI"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/0.1.0.tar.gz"
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/0.1.1.tar.gz"
sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum
license "MIT"

Expand Down
2 changes: 1 addition & 1 deletion praisonai/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_dockerfile(self):
file.write("FROM python:3.11-slim\n")
file.write("WORKDIR /app\n")
file.write("COPY . .\n")
file.write("RUN pip install flask praisonai==0.1.0 gunicorn markdown\n")
file.write("RUN pip install flask praisonai==0.1.1 gunicorn markdown\n")
file.write("EXPOSE 8080\n")
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')

Expand Down
2 changes: 2 additions & 0 deletions praisonai/ui/realtimeclient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ def _log_event(self, event):
self.dispatch("realtime.event", realtime_event)

def _on_session_created(self, event):
print(f"Session created: {event}")
logger.debug(f"Session created: {event}")
self.session_created = True

def _process_event(self, event, *args):
Expand Down
Loading

0 comments on commit 6c4f3da

Please sign in to comment.