iT邦幫忙

2024 iThome 鐵人賽

DAY 3
0
自我挑戰組

ELI5 for Generative AI and Software Development系列 第 3

ELI5 GenAI Day 03 - NeMo-GuardRails

  • 分享至 

  • xImage
  •  

https://ithelp.ithome.com.tw/upload/images/20240822/20091643MrOsmqzCIR.jpg

去年年底在 DevFest 2023 Taipei 講過一場 Future-Proofing Enterprise Conversations: Integrating NeMo-GuardRails & PaLM2 - JimmyLiao

探討如何運用 NeMo-GuardRails 確保溝通的合規性與安全性,同時借助 Gemini/Gemma 模型的強大自然語言處理能力,開發出更具人性化的對話系統,提升企業級對話平台的成效

NeMo-GuardRails

不多說,直接來看一個 Blacklist 黑名單功能

moderation.co
moderation.co

actions.py
actions.py

block_list.txt
block_list.txt

這樣就可以在對話中,過濾掉一些不當的用語,讓對話更加合規。

本篇同步發表於 iThome個人電子報 -> 訂閱訂起來

English Version

Last year, I gave a talk at DevFest 2023 Taipei on Future-Proofing Enterprise Conversations: Integrating NeMo-GuardRails & PaLM2 - JimmyLiao

The talk explored how to use NeMo-GuardRails to ensure the compliance and security of communications. By leveraging the powerful natural language processing capabilities of the Gemini/Gemma models, we developed a more humanized conversational system to enhance the effectiveness of enterprise-level conversation platforms.

Let's take a look at a Blacklist feature.

By using a Blacklist, you can filter out inappropriate language in conversations to make them more compliant.

Please check above for the code snippets.

This post is simultaneously published on iThome and my personal newsletter -> Subscribe now!


上一篇
ELI5 GenAI Day 02 - 什麼是 GuardRails 與 Responsible AI
下一篇
ELI5 GenAI Day 04 - Gemini 1.5 Flash and AI Studio
系列文
ELI5 for Generative AI and Software Development11
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言