NanoBananaProPrompt
A curated collection of professional prompt templates for enhanced productivity and creative workflows. This package provides ready-to-use prompts designed to streamline your interactions with AI models.
Installation
Add nano_banana_pro_prompt to your list of dependencies in mix.exs:
elixir
def deps do
[
{:nano_banana_pro_prompt, "~> 0.1.0"}] end
Then, run mix deps.get to fetch the dependency.
Usage Examples
This package provides prompt templates accessible through the NanoBananaProPrompt module. Each prompt is designed for specific use cases and can be easily incorporated into your Elixir applications.
1. Code Explanation: elixir alias NanoBananaProPrompt.CodeExplanation
prompt = CodeExplanation.generate("Elixir", "def greet(name), do: \"Hello, #{name}!\"")
Use the prompt with your preferred AI model integration.
Example:
response = AIClient.query(prompt)
IO.puts(response)
2. Content Summarization: elixir alias NanoBananaProPrompt.ContentSummarization
text = "Elixir is a dynamic, functional language designed for building scalable and maintainable applications. It leverages the Erlang VM, known for its fault tolerance and concurrency." prompt = ContentSummarization.generate(text, 3) # Request a 3-sentence summary
Example:
response = AIClient.query(prompt)
IO.puts(response)
3. Creative Writing - Story Idea Generation: elixir alias NanoBananaProPrompt.StoryIdea
prompt = StoryIdea.generate("Sci-Fi", "A lone astronaut discovers a hidden signal on a remote planet.")
Example:
response = AIClient.query(prompt)
IO.puts(response)
4. Marketing Copy Generation: elixir alias NanoBananaProPrompt.MarketingCopy
prompt = MarketingCopy.generate("A revolutionary new productivity app", "Boost your efficiency by 50%.")
Example:
response = AIClient.query(prompt)
IO.puts(response)
5. Translation Quality Improvement: elixir alias NanoBananaProPrompt.TranslationImprovement
original_text = "The quick brown fox jumps over the lazy dog." translated_text = "Le renard brun rapide saute par-dessus le chien paresseux."
prompt = TranslationImprovement.generate(original_text, translated_text, "English", "French")
Example:
response = AIClient.query(prompt)
IO.puts(response)
Feature Summary
- Ready-to-use prompts: Pre-built templates for common AI use cases.
- Modularity: Prompts are organized into modules for easy access and integration.
- Customizable: Each prompt can be further tailored to your specific needs.
- Clear Documentation: Each module and function is well-documented for ease of use.
- Pattern Matching Friendly: Designed to work seamlessly with Elixir's pattern matching capabilities.
License
MIT
This package is part of the nano-banana-pro-prompt ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/blog/nano-banana-pro-prompt-use-cases-ready-to-copy-paste/