description="The tags for the prompt such as sentiment, code, etc seperated by commas.",
)
use_cases:Sequence[PromptUseCase]=Field(
...,
description="The use cases for the prompt",
)
# Example usage:
# Initialize the function caller
model=OpenAIFunctionCaller(
system_prompt="You're an prompt creator, you're purpose is to create system prompts for new LLM Agents for the user. Follow the best practices for creating a prompt such as making it direct and clear. Providing instructions and many-shot examples will help the agent understand the task better.",
max_tokens=1000,
temperature=0.5,
base_model=PromptSpec,
parallel_tool_calls=False,
)
# The OpenAIFunctionCaller class is used to interact with the OpenAI API and make function calls.
out=model.run(
"Create a prompt for an agent that is really good for email greeting, make sure the agent doesn't sound like an robot or an AI. Provide many-shot examples and instructions for the agent to follow."