bots
django_spire.ai.prompt.bots
DandyPythonPromptBot
Bases: BaseLlmBot
instructions_prompt = prompts.dandy_prompt_python_file_instruction_bot_prompt()
class-attribute
instance-attribute
intel_class = intel.DandyPromptPythonFileIntel
class-attribute
instance-attribute
process
classmethod
Takes in an enhanced prompt and turn it into a python file that uses the dandy library.
Source code in django_spire/ai/prompt/bots.py
TextToMarkdownPromptBot
Bases: BaseLlmBot
instructions_prompt = prompts.text_to_markdown_instruction_bot_prompt()
class-attribute
instance-attribute
intel_class = intel.TextToMarkdownIntel
class-attribute
instance-attribute
process
classmethod
Takes in user text and converts it to properly formatted Markdown.