Skip to content

Commit

Permalink
Add dspy as a tool
Browse files Browse the repository at this point in the history
  • Loading branch information
yxjiang committed Jun 10, 2024
1 parent 2b6490a commit 95c578d
Show file tree
Hide file tree
Showing 6 changed files with 1,206 additions and 337 deletions.
648 changes: 625 additions & 23 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions polymind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from .core.agent import Agent, ThoughtProcess
from .core.message import Message
from .core.task import AtomTask, BaseTask, CompositeTask, SequentialTask
from .core.tool import BaseTool
from .core.tool import BaseTool, LLMTool, DspyPipelineTool
from .core_tools.retrieve_tool import KnowledgeRetrieveTool, ToolRetriever
from .core_tools.index_tool import KnowledgeIndexTool, ToolIndexer
from .core.logger import Logger

# Expose the tools
from .core_tools.llm_tool import LLMTool, OpenAIChatTool, OpenAIEmbeddingTool
from .core_tools.llm_tool import OpenAIChatTool, OpenAIEmbeddingTool
Loading

0 comments on commit 95c578d

Please sign in to comment.