文章

顯示從 6月, 2025 起發佈的文章

drupal_view , drupal_view_result (need Twig Tweak)

 drupal_view_result出原始結果數據, check到有野(length > 0) 才顯示drupal_view  {% if (   drupal_view_result(viewName, viewDisplayId)|length > 0 ) %}

20 creative hashtags/tools

 Let's brainstorm 20 creative hashtags/tools for a bot, keeping in mind the #search example for RAG (Retrieval Augmented Generation) via a search engine. I'll focus on functionalities that extend the bot's capabilities beyond basic conversational AI. Here are 20 hashtags/tools, categorized for clarity: Information & Research Tools: #search: (As you mentioned) Triggers a web search (Google, Bing, etc.) for real-time information retrieval and RAG. #wiki: Accesses Wikipedia for concise, structured information on a given topic. Ideal for quick facts and overviews. #define: Provides definitions, synonyms, and antonyms from a dictionary or lexical database. #news: Fetches recent headlines and summaries from a specified news source or general news feed. #journal: Accesses academic databases (e.g., PubMed, JSTOR, ArXiv) to find research papers and scholarly articles. Creative & Generation Tools: #imagine: Generates images based on a textual description using a...

cursor editor default CLI (not powershell, use terminal)

Ctrl + ,  command prompt