Skip to content

Commit

Permalink
Merge pull request #14 from superagentxai/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
SyedHabibM authored Nov 12, 2024
2 parents 5223569 + 95720da commit d55cace
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 25 deletions.
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "superagentx"
version = "0.1.8"
version = "0.1.9"
description = "The Ultimate Modular Autonomous Multi AI Agent Framework."
license = "MIT"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion superagentx_cli/templates/README.md.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{# templates/README.md.jinja2 #}

# {{ app_name }}
# {{ app_name }} - Use case using SuperAgentX

SuperAgentX - A Lightweight Modular Autonomous True Multi Agent AI Framework.
29 changes: 16 additions & 13 deletions superagentx_cli/templates/pipe.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ from superagentx.llm import LLMClient
from superagentx.memory import Memory
from superagentx.prompt import PromptTemplate

# Import handlers

# Example
# -------
#################################################
# Uncomment below lines to enable ecom handlers #
#################################################
Expand All @@ -21,22 +25,18 @@ async def get_{{ pipe_name }}_pipe() -> AgentXPipe:
llm_client = LLMClient(llm_config=llm_config)

# Enable Memory
memory = Memory()
memory = Memory(memory_config={"llm_client": llm_client})

#################################################
# Uncomment below lines to enable ecom handlers #
#################################################
## Add Two Handlers (Tools) - Amazon, Walmart
# Example
# -------
# amazon_ecom_handler = AmazonHandler()
# walmart_ecom_handler = WalmartHandler()

# Prompt Template
prompt_template = PromptTemplate()

################################################
# Uncomment below lines to enable ecom engines #
################################################
## Amazon & Walmart Engine to execute handlers
# Example - Engine(s)
# -------------------
# amazon_engine = Engine(
# handler=amazon_ecom_handler,
# llm=llm_client,
Expand All @@ -48,10 +48,11 @@ async def get_{{ pipe_name }}_pipe() -> AgentXPipe:
# prompt_template=prompt_template
# )

##############################################
# Uncomment below lines to enable ecom agent #
##############################################
## Create Agent with Amazon, Walmart Engines execute in Parallel - Search Products from user prompts
# Create Agents

# Example - Agent(s)
# ------------------
# Create Agent with Amazon, Walmart Engines execute in Parallel - Search Products from user prompts
# ecom_agent = Agent(
# name='Ecom Agent',
# goal="Get me the best search results",
Expand All @@ -61,6 +62,8 @@ async def get_{{ pipe_name }}_pipe() -> AgentXPipe:
# engines=[[amazon_engine, walmart_engine]]
# )

# Create Pipe - Interface

# Pipe Interface to send it to public accessible interface (Cli Console / WebSocket / Restful API)
pipe = AgentXPipe(
###############################################
Expand Down

0 comments on commit d55cace

Please sign in to comment.