From 0838ce018988027bd7b195578f7373df220499d2 Mon Sep 17 00:00:00 2001 From: "Hauzer S. Lee" Date: Wed, 16 Oct 2024 14:36:49 +0800 Subject: [PATCH] feat: add agents files (#15) --- llmsearch/agents/__init__.py | 0 llmsearch/agents/base.py | 2 ++ llmsearch/agents/general.py | 5 +++++ llmsearch/agents/search.py | 8 ++++++++ 4 files changed, 15 insertions(+) create mode 100644 llmsearch/agents/__init__.py create mode 100644 llmsearch/agents/base.py create mode 100644 llmsearch/agents/general.py create mode 100644 llmsearch/agents/search.py diff --git a/llmsearch/agents/__init__.py b/llmsearch/agents/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/llmsearch/agents/base.py b/llmsearch/agents/base.py new file mode 100644 index 0000000..7dad3a5 --- /dev/null +++ b/llmsearch/agents/base.py @@ -0,0 +1,2 @@ +class BaseAgent: + pass diff --git a/llmsearch/agents/general.py b/llmsearch/agents/general.py new file mode 100644 index 0000000..c859743 --- /dev/null +++ b/llmsearch/agents/general.py @@ -0,0 +1,5 @@ +from .base import BaseAgent + + +class GeneralAgent(BaseAgent): + pass diff --git a/llmsearch/agents/search.py b/llmsearch/agents/search.py new file mode 100644 index 0000000..f06707b --- /dev/null +++ b/llmsearch/agents/search.py @@ -0,0 +1,8 @@ +from .base import BaseAgent + + +class SearchAgent(BaseAgent): + """Can use simple words or sentences for search, first determine the type of search language, such as text, image, audio, etc., and then search.""" + + """可以用简单的词或句子进行搜索,首先会判断搜索语对应的类型,如文本、图片、音频等,然后再进行搜索。""" + pass