Skip to content

Commit

Permalink
Merge pull request #84 from small-thinking/refactor-prompt
Browse files Browse the repository at this point in the history
Add dspy as a tool
  • Loading branch information
yxjiang authored Jun 10, 2024
2 parents 2b6490a + eb16551 commit 74b5ee4
Show file tree
Hide file tree
Showing 7 changed files with 1,207 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 74b5ee4

Please sign in to comment.