Skip to content

Commit

Permalink
Improves generator method arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Sep 4, 2024
1 parent db26372 commit 4bf750a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/LLM/AgentPromptGeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
namespace LLM\Agents\LLM;

use LLM\Agents\Agent\AgentInterface;
use LLM\Agents\LLM\Prompt\Chat\Prompt;
use LLM\Agents\LLM\Prompt\Chat\PromptInterface;

interface AgentPromptGeneratorInterface
{
public function generate(
AgentInterface $agent,
string|\Stringable $prompt,
string|\Stringable $userPrompt,
PromptContextInterface $context,
PromptInterface $prompt = new Prompt(),
): PromptInterface;
}

0 comments on commit 4bf750a

Please sign in to comment.