:::

如何在Colab上傳和下載檔案? / How to Upload and Download Files to Colab?

布丁布丁吃布丁

0 Comments

如何在Colab上傳和下載檔案? / How to Upload and Download Files to Colab?

2024-1221-165007.png

在Colab分析資料是現在很常用的技巧。但要將檔案上傳到Colab中,你需要進行以下的操作。

Analyzing data in Colab is a common technique nowadays.  However, to upload files to Colab, you need to perform the following steps.

(more...)

雜談:什麼是RAG知識庫的必備條件? / TALK: What Are the Prerequisites for a RAG Knowledge Base?

布丁布丁吃布丁

雜談:什麼是RAG知識庫的必備條件? / TALK: What Are the Prerequisites for a RAG Knowledge Base?

2024-1222-020533.png

在陸陸續續地升級了Dify的各個元件後,赫然發現,目前作為RAG的知識庫,仍有許多不足之處。到底RAG知識庫應該具備什麼功能?這篇就來聊聊我的想法。

(more...)

用爬蟲作為Dify的知識庫:Firecrawl / Using a Web Crawler as Dify's Knowledge Base: Firecrawl

布丁布丁吃布丁

用爬蟲作為Dify的知識庫:Firecrawl / Using a Web Crawler as Dify's Knowledge Base: Firecrawl

2024-1222-001315.png

Dify的知識庫能夠取自網路資料,再搭配我們自架的Coolcrawl來取代公開服務Firecrawl,就能夠抓取內部區域網路裡面的網路資料。接下來就讓我們來看看這要怎麼實作吧。

Dify's knowledge base can draw from online data, and by combining it with our self-hosted Coolcrawl (instead of the public service Firecrawl), it can also crawl data within the intranet. Let's take a look at how to implement this.

(more...)

雜談:除溼機接上了Home Assistant,然後又離線了 / TALK: Dehumidifier WIFI Issues in Home Assistant

雜談:除溼機接上了Home Assistant,然後又離線了 / TALK: Dehumidifier WIFI Issues in Home Assistant

2024-1211-050937.png

雖然威技的WIFI除溼機的確能夠透過Tuya物聯網跟Home Assistant連接,但它似乎會在網路中斷的時候,直接關閉WIFI功能的樣子。原本以為除溼機都能按照自動化規則自己好好運作,怎麽不知不覺又離線了呢?

(more...)

成為國家認可的圖書館員吧!一個人備考也能開的AI讀書會 / Become a Nationally Certified Librarian! An AI Study Group for Solo Learners

布丁布丁吃布丁

成為國家認可的圖書館員吧!一個人備考也能開的AI讀書會 / Become a Nationally Certified Librarian! An AI Study Group for Solo Learners

2025-0101-150912.png

唸資圖系或圖資系,未來可以做什麼工作?雖然大家的說法眾說紛紜,不過「圖書館員」仍然是此領域人才訓練的主要目標。在台灣要成為圖書館員的各種途徑中,透過國家考試成為具有「圖書資訊管理」專業的公務人員,又是許多人理想中的圖書館員職位。那要怎麼透過公職考試考上館員?要讀什麼書?要怎麼準備?我們就用這份講座來跟大家說明吧!

What kind of jobs can you get with a degree in Library and Information Science? While there are many different opinions, "librarian" remains the primary career goal for individuals trained in this field. In Taiwan, among the various paths to becoming a librarian, securing a civil servant position specializing in "Library and Information Management" through national examinations is the ideal librarian role for many. So, how can one pass the civil service exam to become a librarian? What should one study? How should one prepare? Let's address these questions in this lecture.

Fixed Short URL: https://l.pulipuli.info/24/dils/moe 

(more...)

雜談:回顧2024的「布丁布丁吃什麼?」 / TALK: A Review of Pulipuli’s Blog in 2024

布丁布丁吃布丁

雜談:回顧2024的「布丁布丁吃什麼?」 / TALK: A Review of Pulipuli’s Blog in 2024

2024-1231-000516.png

「布丁布丁吃什麼?」的總瀏覽量突破1500萬了!趁這個新的一年,一起讓我們來回顧看看2024年「布丁布丁吃什麼?」有哪些熱門話題吧!

(more...)

如何用Felo AI搜尋特定網站的內容 / How to Search Specific Website Content Using Felo AI

布丁布丁吃布丁

如何用Felo AI搜尋特定網站的內容 / How to Search Specific Website Content Using Felo AI

2024-1230-013542.png

用關鍵字檢索站內資訊時,你總是看到大量分散的網頁,不知道怎麽整合最需要的資料嗎?這篇教你用Felo Search來建立站內的「問答機器人」!

Are you tired of keyword searches returning tons of scattered web pages, making it difficult to consolidate the information you need? This post will teach you how to use Felo Search to create an internal "Q&A chatbot"!

(more...)

離開抱抱臉: 讓Dify擁抱Ollama / Leaving Hugging Face: Embracing Ollama with Dify

布丁布丁吃布丁

離開抱抱臉: 讓Dify擁抱Ollama / Leaving Hugging Face: Embracing Ollama with Dify

2024-1203-195243.png

在「自行架設大型語言模式應用程式:Dify」這篇我講到我在Dify裡面使用Hugging Face API作文字嵌入(embedding),但啟動等待跟限速的限制降低了使用效率。這次我們把文字嵌入的工作交給自行架設的Ollama,讓我們來看看自行架設到底可以帶來什麼效益吧。

In the article "Self-Hosting a Large Language Model Application: Dify," I discussed using the Hugging Face API for text embedding within Dify. However, startup latency and rate limiting reduced efficiency. This time, we'll offload the text embedding task to a self-hosted Ollama instance. Let's explore the benefits of self-hosting.

(more...)

雜談:來自架Dify v0.12.1吧! / TALK: Let's Self-Host Dify v0.12.1!

布丁布丁吃布丁

雜談:來自架Dify v0.12.1吧! / TALK: Let's Self-Host Dify v0.12.1!

2024-1203-163113.png

自從上次講到想要從Dify v0.6.14升級之後,這次就來試著安裝看看吧。

(more...)

希希助教祝大家聖誕快樂 / TA. Sissi Wishes Everyone a Merry Christmas

布丁布丁吃布丁

0 Comments

希希助教祝大家聖誕快樂 / TA. Sissi Wishes Everyone a Merry Christmas

-_Merry_Christmas_-_image6.png

希希助教在教室之外為各位同學的期末獻上祝福。祝大家聖誕快樂!

如果順利的話,希希助教應該會在節日的時候定期出來跟大家打聲招呼吧。你對希希助教有什麼看法呢?歡迎在下面留言喔。

(more...)

檢索擴增生成(RAG)技術的發展現況與文本知識提取的應用 / Retrieval Augmented Generation (RAG) and Its Application in Text Knowledge Extraction

布丁布丁吃布丁

檢索擴增生成(RAG)技術的發展現況與文本知識提取的應用 / Retrieval Augmented Generation (RAG) and Its Application in Text Knowledge Extraction

2024-1203-203403.png

檢索擴增生成(RAG)現在已經是大型語言模型領域裡的新寵兒,而且是屬於易懂難經的技術。這篇文章內容是我在計劃書裡對於檢索擴增生成(RAG)技術的內涵和相關應用的介紹。在這個部落格也留存一份記錄吧。

Retrieval Augmented Generation (RAG) has become the new darling of the large language model domain, and it's one of those technologies that are easier to understand than to master. This post contains the introduction to RAG's core concepts and applications that I wrote for a proposal. I'm also keeping a copy here on the blog.

(more...)

雜談:用Make設定了RSS傳送到Threads / TALK: Forword the RSS Feed to Threads in Make

布丁布丁吃布丁

雜談:用Make設定了RSS傳送到Threads / TALK: Forword the RSS Feed to Threads in Make

2024-1202-013534.png

在我寫完「RSS自動轉發到Threads跟X (Twitter):使用dlvr.it」之後,dlvr.it就轉變成完全收費的制度,因此自動轉發也跟著無以後繼。最近我總算能騰出時間來撰寫Blog,同時也把Threads API整合到Make平臺裡,讓「布丁布丁吃什麼?」的新文章能夠自動轉發到Threads裡面。至於這個方法是否能夠成功,就要等時間來驗證了。以下就記錄我大致上的做法。

(more...)

Home Assistant自動化的限制:無法偵測長時間狀態 / Limitations of Home Assistant Automation: Inability to Detect Long-Duration States

布丁布丁吃布丁

Home Assistant自動化的限制:無法偵測長時間狀態 / Limitations of Home Assistant Automation: Inability to Detect Long-Duration States

2024-1201-172230.png

我本來想在Home Assistant設定自動化「如果實體的狀態維持[關閉]超過24小時,就把它設為[開啟]」,結果HA卻一直沒能觸發自動化。最後我把條件改成時間模式定期檢查、觸發,然後把條件設定在「且如果」裡面,這樣自動化才能夠正常運作。

I was trying to set up an automation in Home Assistant that would turn an entity [on] if its state remained [off] for more than 24 hours. However, the automation never triggered. I eventually got it working by changing it to a time-based automation that checks periodically and then using an condition to check the entity's state.

(more...)