Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dspy as a tool #84

Merged
merged 7 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading