├── .codacy.yml ├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .dockerignore ├── .env.example ├── .github ├── dependabot.yml └── workflows │ ├── codacy.yml │ ├── submodule-update.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── agent_workplace └── .keep ├── demos ├── data │ ├── llama │ │ ├── index_guide.md │ │ ├── tree_index.png │ │ └── vector_store_index.png │ └── receipts │ │ ├── 1056-receipt.jpg │ │ ├── 1077-receipt.jpg │ │ └── 1100-receipt.jpg ├── langchain_llama_index.ipynb ├── llama_index_multi_model.ipynb ├── townhall_multi_agent_conversation.ipynb └── townhall_teachability.ipynb ├── docker-compose.yml ├── docs ├── .ruby-version ├── Gemfile ├── README.md ├── _config.yml ├── _layouts │ └── default.html ├── banner.png ├── index.md └── notebooks │ ├── agentchat_MathChat.ipynb │ ├── agentchat_RetrieveChat.ipynb │ ├── agentchat_auto_feedback_from_code_execution.ipynb │ ├── agentchat_chess.ipynb │ ├── agentchat_function_call.ipynb │ ├── agentchat_groupchat.ipynb │ ├── agentchat_groupchat_RAG.ipynb │ ├── agentchat_groupchat_research.ipynb │ ├── agentchat_groupchat_vis.ipynb │ ├── agentchat_human_feedback.ipynb │ ├── agentchat_langchain.ipynb │ ├── agentchat_planning.ipynb │ ├── agentchat_stream.ipynb │ ├── agentchat_teaching.ipynb │ ├── agentchat_two_users.ipynb │ ├── agentchat_web_info.ipynb │ ├── oai_chatgpt_gpt4.ipynb │ ├── oai_completion.ipynb │ ├── oai_openai_utils.ipynb │ └── viz_gc.png ├── experiments └── openai │ ├── 1.ipynb │ ├── 10.ipynb │ ├── 11.ipynb │ ├── 12.ipynb │ ├── 2.ipynb │ ├── 3.ipynb │ ├── 4.ipynb │ ├── 5.ipynb │ ├── 6.ipynb │ ├── 7.ipynb │ ├── 8.ipynb │ ├── 9.ipynb │ └── README.md ├── prompts ├── Ask for Help.txt ├── Break into steps.txt ├── Chat with Commands and Files.txt ├── Chat with Commands.txt ├── Chat with Files.txt ├── Chat.txt ├── Check-Instruction.txt ├── Code Interpreter.txt ├── Convert OpenAPI Endpoint.txt ├── Create New Command.txt ├── Create a Skeleton.txt ├── Custom Input.txt ├── Evaluate Code.txt ├── Execution.txt ├── Expert Determination.txt ├── Get Clarification.txt ├── Get Task Description.txt ├── Get Task List.txt ├── Get ezsession Auth Type.txt ├── Instruction.txt ├── JSONFormatter.txt ├── New Extension Format.txt ├── Pick a Poem Subject.txt ├── Pick-a-Link.txt ├── Prioritize.txt ├── Prompt Generator.txt ├── Proofreader.txt ├── Pseudo Code.txt ├── SQLQuery.txt ├── Score Response.txt ├── SmartChat-CleanResponse.txt ├── SmartChat-Researcher.txt ├── SmartChat-Resolver.txt ├── SmartChat-StepByStep.txt ├── SmartInstruct-CleanResponse.txt ├── SmartInstruct-Execution.txt ├── SmartInstruct-Researcher.txt ├── SmartInstruct-Resolver.txt ├── SmartInstruct-StepByStep.txt ├── SmartTask-CleanResponse.txt ├── SmartTask-Execution.txt ├── SmartTask-StepByStep.txt ├── Summarize Web Content.txt ├── Task Execution.txt ├── Tell Me How.txt ├── Title a Chain.txt ├── Title a Poem.txt ├── Translate Math to Python.txt ├── Validation.txt ├── ValidationFailed.txt ├── Voice Chat without Commands.txt ├── Voice Chat.txt ├── WebSearch.txt ├── Write a Haiku.txt ├── Write a Poem.txt ├── arXiv Search.txt └── instruct.txt ├── pyproject.toml ├── pytest.ini ├── requirements.txt ├── settings.py ├── setup.py ├── setup.sh ├── tests └── townhall │ ├── helpers │ ├── agent_manager_test.py │ ├── agent_registry_test.py │ ├── function_registry_test.py │ ├── inter_agent_comm_test.py │ └── message_router_test.py │ └── services │ └── function_service_test.py ├── townhall.code-workspace └── townhall ├── __init__.py ├── agents ├── __init__.py ├── base_agent.py ├── critic.py ├── memory_enabled_agent.py ├── planner.py ├── product_manager.py ├── python_engineer.py ├── python_qa.py ├── scientist.py ├── user_agent.py └── utils.py ├── helpers ├── agent_manager.py ├── agent_registry.py ├── function_registry.py ├── inter_agent_comm.py └── message_router.py ├── models ├── gpt2 │ ├── README.md │ ├── attention.py │ ├── constants.py │ ├── feed_forward.py │ ├── gpt2.py │ ├── layer_norm.py │ ├── transformer.py │ ├── transformer_block.py │ └── utils.py ├── llama │ ├── README.md │ ├── __init__.py │ ├── absmax_quantized_linear.py │ ├── attention.py │ ├── constants.py │ ├── feed_forward.py │ ├── llama.py │ ├── rms_norm.py │ ├── transformer.py │ ├── transformer_block.py │ ├── utils.py │ └── weights │ │ └── LLaMa │ │ ├── .keep │ │ └── pull_llama.sh └── whisper │ ├── audio_encoder.py │ ├── constants.py │ ├── multi_head_attention.py │ ├── residual_attention_block.py │ ├── text_decoder.py │ ├── utils.py │ ├── weights │ └── .keep │ └── whisper.py └── services ├── chat_service.py └── function_service.py /.codacy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.codacy.yml -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY=sk-1234567890abcdefg -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codacy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.github/workflows/codacy.yml -------------------------------------------------------------------------------- /.github/workflows/submodule-update.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/README.md -------------------------------------------------------------------------------- /agent_workplace/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demos/data/llama/index_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/llama/index_guide.md -------------------------------------------------------------------------------- /demos/data/llama/tree_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/llama/tree_index.png -------------------------------------------------------------------------------- /demos/data/llama/vector_store_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/llama/vector_store_index.png -------------------------------------------------------------------------------- /demos/data/receipts/1056-receipt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/receipts/1056-receipt.jpg -------------------------------------------------------------------------------- /demos/data/receipts/1077-receipt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/receipts/1077-receipt.jpg -------------------------------------------------------------------------------- /demos/data/receipts/1100-receipt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/data/receipts/1100-receipt.jpg -------------------------------------------------------------------------------- /demos/langchain_llama_index.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/langchain_llama_index.ipynb -------------------------------------------------------------------------------- /demos/llama_index_multi_model.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/llama_index_multi_model.ipynb -------------------------------------------------------------------------------- /demos/townhall_multi_agent_conversation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/townhall_multi_agent_conversation.ipynb -------------------------------------------------------------------------------- /demos/townhall_teachability.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/demos/townhall_teachability.ipynb -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.3 -------------------------------------------------------------------------------- /docs/Gemfile: -------------------------------------------------------------------------------- 1 | gem "github-pages", group: :jekyll_plugins -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/_layouts/default.html -------------------------------------------------------------------------------- /docs/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/banner.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/notebooks/agentchat_MathChat.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_MathChat.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_RetrieveChat.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_RetrieveChat.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_auto_feedback_from_code_execution.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_auto_feedback_from_code_execution.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_chess.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_chess.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_function_call.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_function_call.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_groupchat.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_groupchat.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_groupchat_RAG.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_groupchat_RAG.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_groupchat_research.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_groupchat_research.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_groupchat_vis.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_groupchat_vis.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_human_feedback.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_human_feedback.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_langchain.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_langchain.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_planning.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_planning.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_stream.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_stream.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_teaching.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_teaching.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_two_users.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_two_users.ipynb -------------------------------------------------------------------------------- /docs/notebooks/agentchat_web_info.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/agentchat_web_info.ipynb -------------------------------------------------------------------------------- /docs/notebooks/oai_chatgpt_gpt4.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/oai_chatgpt_gpt4.ipynb -------------------------------------------------------------------------------- /docs/notebooks/oai_completion.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/oai_completion.ipynb -------------------------------------------------------------------------------- /docs/notebooks/oai_openai_utils.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/oai_openai_utils.ipynb -------------------------------------------------------------------------------- /docs/notebooks/viz_gc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/docs/notebooks/viz_gc.png -------------------------------------------------------------------------------- /experiments/openai/1.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/1.ipynb -------------------------------------------------------------------------------- /experiments/openai/10.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/10.ipynb -------------------------------------------------------------------------------- /experiments/openai/11.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/11.ipynb -------------------------------------------------------------------------------- /experiments/openai/12.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/12.ipynb -------------------------------------------------------------------------------- /experiments/openai/2.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/2.ipynb -------------------------------------------------------------------------------- /experiments/openai/3.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/3.ipynb -------------------------------------------------------------------------------- /experiments/openai/4.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/4.ipynb -------------------------------------------------------------------------------- /experiments/openai/5.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/5.ipynb -------------------------------------------------------------------------------- /experiments/openai/6.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/6.ipynb -------------------------------------------------------------------------------- /experiments/openai/7.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/7.ipynb -------------------------------------------------------------------------------- /experiments/openai/8.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/8.ipynb -------------------------------------------------------------------------------- /experiments/openai/9.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/9.ipynb -------------------------------------------------------------------------------- /experiments/openai/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/experiments/openai/README.md -------------------------------------------------------------------------------- /prompts/Ask for Help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Ask for Help.txt -------------------------------------------------------------------------------- /prompts/Break into steps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Break into steps.txt -------------------------------------------------------------------------------- /prompts/Chat with Commands and Files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Chat with Commands and Files.txt -------------------------------------------------------------------------------- /prompts/Chat with Commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Chat with Commands.txt -------------------------------------------------------------------------------- /prompts/Chat with Files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Chat with Files.txt -------------------------------------------------------------------------------- /prompts/Chat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Chat.txt -------------------------------------------------------------------------------- /prompts/Check-Instruction.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Check-Instruction.txt -------------------------------------------------------------------------------- /prompts/Code Interpreter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Code Interpreter.txt -------------------------------------------------------------------------------- /prompts/Convert OpenAPI Endpoint.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Convert OpenAPI Endpoint.txt -------------------------------------------------------------------------------- /prompts/Create New Command.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Create New Command.txt -------------------------------------------------------------------------------- /prompts/Create a Skeleton.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Create a Skeleton.txt -------------------------------------------------------------------------------- /prompts/Custom Input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Custom Input.txt -------------------------------------------------------------------------------- /prompts/Evaluate Code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Evaluate Code.txt -------------------------------------------------------------------------------- /prompts/Execution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Execution.txt -------------------------------------------------------------------------------- /prompts/Expert Determination.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Expert Determination.txt -------------------------------------------------------------------------------- /prompts/Get Clarification.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Get Clarification.txt -------------------------------------------------------------------------------- /prompts/Get Task Description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Get Task Description.txt -------------------------------------------------------------------------------- /prompts/Get Task List.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Get Task List.txt -------------------------------------------------------------------------------- /prompts/Get ezsession Auth Type.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Get ezsession Auth Type.txt -------------------------------------------------------------------------------- /prompts/Instruction.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Instruction.txt -------------------------------------------------------------------------------- /prompts/JSONFormatter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/JSONFormatter.txt -------------------------------------------------------------------------------- /prompts/New Extension Format.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/New Extension Format.txt -------------------------------------------------------------------------------- /prompts/Pick a Poem Subject.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Pick a Poem Subject.txt -------------------------------------------------------------------------------- /prompts/Pick-a-Link.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Pick-a-Link.txt -------------------------------------------------------------------------------- /prompts/Prioritize.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Prioritize.txt -------------------------------------------------------------------------------- /prompts/Prompt Generator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Prompt Generator.txt -------------------------------------------------------------------------------- /prompts/Proofreader.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Proofreader.txt -------------------------------------------------------------------------------- /prompts/Pseudo Code.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Pseudo Code.txt -------------------------------------------------------------------------------- /prompts/SQLQuery.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SQLQuery.txt -------------------------------------------------------------------------------- /prompts/Score Response.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Score Response.txt -------------------------------------------------------------------------------- /prompts/SmartChat-CleanResponse.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartChat-CleanResponse.txt -------------------------------------------------------------------------------- /prompts/SmartChat-Researcher.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartChat-Researcher.txt -------------------------------------------------------------------------------- /prompts/SmartChat-Resolver.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartChat-Resolver.txt -------------------------------------------------------------------------------- /prompts/SmartChat-StepByStep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartChat-StepByStep.txt -------------------------------------------------------------------------------- /prompts/SmartInstruct-CleanResponse.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartInstruct-CleanResponse.txt -------------------------------------------------------------------------------- /prompts/SmartInstruct-Execution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartInstruct-Execution.txt -------------------------------------------------------------------------------- /prompts/SmartInstruct-Researcher.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartInstruct-Researcher.txt -------------------------------------------------------------------------------- /prompts/SmartInstruct-Resolver.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartInstruct-Resolver.txt -------------------------------------------------------------------------------- /prompts/SmartInstruct-StepByStep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartInstruct-StepByStep.txt -------------------------------------------------------------------------------- /prompts/SmartTask-CleanResponse.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartTask-CleanResponse.txt -------------------------------------------------------------------------------- /prompts/SmartTask-Execution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartTask-Execution.txt -------------------------------------------------------------------------------- /prompts/SmartTask-StepByStep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/SmartTask-StepByStep.txt -------------------------------------------------------------------------------- /prompts/Summarize Web Content.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Summarize Web Content.txt -------------------------------------------------------------------------------- /prompts/Task Execution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Task Execution.txt -------------------------------------------------------------------------------- /prompts/Tell Me How.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Tell Me How.txt -------------------------------------------------------------------------------- /prompts/Title a Chain.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Title a Chain.txt -------------------------------------------------------------------------------- /prompts/Title a Poem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Title a Poem.txt -------------------------------------------------------------------------------- /prompts/Translate Math to Python.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Translate Math to Python.txt -------------------------------------------------------------------------------- /prompts/Validation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Validation.txt -------------------------------------------------------------------------------- /prompts/ValidationFailed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/ValidationFailed.txt -------------------------------------------------------------------------------- /prompts/Voice Chat without Commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Voice Chat without Commands.txt -------------------------------------------------------------------------------- /prompts/Voice Chat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/Voice Chat.txt -------------------------------------------------------------------------------- /prompts/WebSearch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/WebSearch.txt -------------------------------------------------------------------------------- /prompts/Write a Haiku.txt: -------------------------------------------------------------------------------- 1 | Write a poem about {subject} . 2 | {user_input} -------------------------------------------------------------------------------- /prompts/Write a Poem.txt: -------------------------------------------------------------------------------- 1 | Write a poem about {subject} . 2 | {user_input} -------------------------------------------------------------------------------- /prompts/arXiv Search.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/arXiv Search.txt -------------------------------------------------------------------------------- /prompts/instruct.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/prompts/instruct.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/requirements.txt -------------------------------------------------------------------------------- /settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/settings.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/setup.py -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/setup.sh -------------------------------------------------------------------------------- /tests/townhall/helpers/agent_manager_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/helpers/agent_manager_test.py -------------------------------------------------------------------------------- /tests/townhall/helpers/agent_registry_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/helpers/agent_registry_test.py -------------------------------------------------------------------------------- /tests/townhall/helpers/function_registry_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/helpers/function_registry_test.py -------------------------------------------------------------------------------- /tests/townhall/helpers/inter_agent_comm_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/helpers/inter_agent_comm_test.py -------------------------------------------------------------------------------- /tests/townhall/helpers/message_router_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/helpers/message_router_test.py -------------------------------------------------------------------------------- /tests/townhall/services/function_service_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/tests/townhall/services/function_service_test.py -------------------------------------------------------------------------------- /townhall.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall.code-workspace -------------------------------------------------------------------------------- /townhall/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/__init__.py -------------------------------------------------------------------------------- /townhall/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/__init__.py -------------------------------------------------------------------------------- /townhall/agents/base_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/base_agent.py -------------------------------------------------------------------------------- /townhall/agents/critic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/critic.py -------------------------------------------------------------------------------- /townhall/agents/memory_enabled_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/memory_enabled_agent.py -------------------------------------------------------------------------------- /townhall/agents/planner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/planner.py -------------------------------------------------------------------------------- /townhall/agents/product_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/product_manager.py -------------------------------------------------------------------------------- /townhall/agents/python_engineer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/python_engineer.py -------------------------------------------------------------------------------- /townhall/agents/python_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/python_qa.py -------------------------------------------------------------------------------- /townhall/agents/scientist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/scientist.py -------------------------------------------------------------------------------- /townhall/agents/user_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/user_agent.py -------------------------------------------------------------------------------- /townhall/agents/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/agents/utils.py -------------------------------------------------------------------------------- /townhall/helpers/agent_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/helpers/agent_manager.py -------------------------------------------------------------------------------- /townhall/helpers/agent_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/helpers/agent_registry.py -------------------------------------------------------------------------------- /townhall/helpers/function_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/helpers/function_registry.py -------------------------------------------------------------------------------- /townhall/helpers/inter_agent_comm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/helpers/inter_agent_comm.py -------------------------------------------------------------------------------- /townhall/helpers/message_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/helpers/message_router.py -------------------------------------------------------------------------------- /townhall/models/gpt2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/README.md -------------------------------------------------------------------------------- /townhall/models/gpt2/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/attention.py -------------------------------------------------------------------------------- /townhall/models/gpt2/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/constants.py -------------------------------------------------------------------------------- /townhall/models/gpt2/feed_forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/feed_forward.py -------------------------------------------------------------------------------- /townhall/models/gpt2/gpt2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/gpt2.py -------------------------------------------------------------------------------- /townhall/models/gpt2/layer_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/layer_norm.py -------------------------------------------------------------------------------- /townhall/models/gpt2/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/transformer.py -------------------------------------------------------------------------------- /townhall/models/gpt2/transformer_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/transformer_block.py -------------------------------------------------------------------------------- /townhall/models/gpt2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/gpt2/utils.py -------------------------------------------------------------------------------- /townhall/models/llama/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/README.md -------------------------------------------------------------------------------- /townhall/models/llama/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /townhall/models/llama/absmax_quantized_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/absmax_quantized_linear.py -------------------------------------------------------------------------------- /townhall/models/llama/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/attention.py -------------------------------------------------------------------------------- /townhall/models/llama/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/constants.py -------------------------------------------------------------------------------- /townhall/models/llama/feed_forward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/feed_forward.py -------------------------------------------------------------------------------- /townhall/models/llama/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/llama.py -------------------------------------------------------------------------------- /townhall/models/llama/rms_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/rms_norm.py -------------------------------------------------------------------------------- /townhall/models/llama/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/transformer.py -------------------------------------------------------------------------------- /townhall/models/llama/transformer_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/transformer_block.py -------------------------------------------------------------------------------- /townhall/models/llama/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/utils.py -------------------------------------------------------------------------------- /townhall/models/llama/weights/LLaMa/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /townhall/models/llama/weights/LLaMa/pull_llama.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/llama/weights/LLaMa/pull_llama.sh -------------------------------------------------------------------------------- /townhall/models/whisper/audio_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/audio_encoder.py -------------------------------------------------------------------------------- /townhall/models/whisper/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/constants.py -------------------------------------------------------------------------------- /townhall/models/whisper/multi_head_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/multi_head_attention.py -------------------------------------------------------------------------------- /townhall/models/whisper/residual_attention_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/residual_attention_block.py -------------------------------------------------------------------------------- /townhall/models/whisper/text_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/text_decoder.py -------------------------------------------------------------------------------- /townhall/models/whisper/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/utils.py -------------------------------------------------------------------------------- /townhall/models/whisper/weights/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /townhall/models/whisper/whisper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/models/whisper/whisper.py -------------------------------------------------------------------------------- /townhall/services/chat_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/services/chat_service.py -------------------------------------------------------------------------------- /townhall/services/function_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shoutsid/townhall/HEAD/townhall/services/function_service.py --------------------------------------------------------------------------------