-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old code
- Loading branch information
Showing
22 changed files
with
33 additions
and
1,451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
"""Package for helping to evaluate agent runs.""" | ||
from langchain_benchmarks.tool_usage.agents import apply_agent_executor_adapter | ||
from langchain_benchmarks.tool_usage.agents import ( | ||
CustomRunnableAgentFactory, | ||
StandardAgentFactory, | ||
apply_agent_executor_adapter, | ||
) | ||
from langchain_benchmarks.tool_usage.evaluators import get_eval_config | ||
|
||
# Please keep this list sorted! | ||
__all__ = [ | ||
"apply_agent_executor_adapter", | ||
"CustomRunnableAgentFactory", | ||
"get_eval_config", | ||
"StandardAgentFactory", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
from langchain_benchmarks.tool_usage.agents.adapters import apply_agent_executor_adapter | ||
from langchain_benchmarks.tool_usage.agents.anthropic_tool_user import ( | ||
AnthropicToolUserFactory, | ||
) | ||
from langchain_benchmarks.tool_usage.agents.experimental.factory import ( | ||
CustomAgentFactory, | ||
) | ||
from langchain_benchmarks.tool_usage.agents.openai_assistant import ( | ||
OpenAIAssistantFactory, | ||
) | ||
from langchain_benchmarks.tool_usage.agents.openai_functions import OpenAIAgentFactory | ||
from langchain_benchmarks.tool_usage.agents.runnable_agent import ( | ||
CustomRunnableAgentFactory, | ||
) | ||
from langchain_benchmarks.tool_usage.agents.tool_using_agent import StandardAgentFactory | ||
|
||
__all__ = [ | ||
"OpenAIAgentFactory", | ||
"OpenAIAssistantFactory", | ||
"apply_agent_executor_adapter", | ||
"CustomAgentFactory", | ||
"AnthropicToolUserFactory", | ||
"CustomRunnableAgentFactory", | ||
"StandardAgentFactory", | ||
] |
271 changes: 0 additions & 271 deletions
271
langchain_benchmarks/tool_usage/agents/anthropic_tool_user.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import abc | ||
|
||
from langchain_core.runnables import Runnable | ||
|
||
|
||
class AgentFactory(abc.ABC): | ||
"""Abstract class for agent factory""" | ||
|
||
@abc.abstractmethod | ||
def __call__(self) -> Runnable: | ||
"""Create a new agent""" |
Empty file.
Oops, something went wrong.