:::

雜談:Gemini可以免費繪圖,但不能用API畫 / TALK: We Can Draw on Gemini Webpage for Free, but Not With API

布丁布丁吃布丁

雜談:Gemini可以免費繪圖,但不能用API畫 / TALK: We Can Draw on Gemini Webpage for Free, but Not With API

2025-0207-015908.png

畢竟是免費的AI功能,真的不能要求太多。

(more...)

自行架設Dify使用的重排序模型:Text Embeddings Inference / Self-Hosting a Dify Reranking Model: Text Embeddings Inference

布丁布丁吃布丁

自行架設Dify使用的重排序模型:Text Embeddings Inference / Self-Hosting a Dify Reranking Model: Text Embeddings Inference

2025-0109-003246.png

隨著在Dify使用的知識庫越來越多,傳統的用相似度來計算權重分數的做法已經不敷使用,而使用重排序模型來排序檢索結果順序的做法也越來越受歡迎。這次我們來架設HuggingFace推出的Text Embeddings Inference,並讓Dify能用它來做重排序吧。

As the knowledge base used in Dify grows, the traditional method of calculating weight scores based on similarity is becoming inadequate.  Using reranking models to reorder retrieval results is gaining popularity.  Let's set up HuggingFace's Text Embeddings Inference and integrate it into Dify for reranking.

(more...)

希希助教獻上康乃馨的祝福 / TA. Sissi Presents Carnation Blessings

布丁布丁吃布丁

0 Comments

希希助教獻上康乃馨的祝福 / TA. Sissi Presents Carnation Blessings

20250106_BLOG_.note_01.png

認真讀書也是回報母親辛苦的一種表現喔!

(more...)

雜談:Home Assistant從開發板遷移到虛擬機器 / Talk: Migrating Home Assistant From a Development Board to a Virtual Machine

雜談:Home Assistant從開發板遷移到虛擬機器 / Talk: Migrating Home Assistant From a Development Board to a Virtual Machine

2025-0122-210140.png

我原本拿來架設Home Assistant的OrangePie掛點了。藉這個機會,我將整個Home Assistant改在Proxmox VE架設。這裡記錄一下整個過程。

(more...)

修改Zotero本機的轉譯器 / Modifying Zotero's Local Translators

布丁布丁吃布丁

修改Zotero本機的轉譯器 / Modifying Zotero's Local Translators

2025-0107-021410.png

如果你覺得用Zotero引用資料時,欄位的值不太正確,那通常都是轉譯器的問題。我們可以試著去修改轉譯器,然後在Zotero Connector裡按下「Reset Translators」按鈕讓修改後的轉譯器生效。

If you find that the field values are incorrect when citing materials using Zotero, it's usually a translator issue. We can try modifying the translator and then click the "Reset Translators" button in the Zotero Connector to apply the changes.

(more...)

雜談:奔跑吧,CPU小貓! / Talk: Run, CPU Cat!

布丁布丁吃布丁

雜談:奔跑吧,CPU小貓! / Talk: Run, CPU Cat!

2025-0122-162203.png

有段時間桌寵概念挺流行的。大家都想要在桌面養個什麼玩意兒來分散自己寶貴的注意力。後來我也決定在工作列裝個CatWalk,看小貓配合我努力工作時狂奔。

(more...)

你的CITATION.cff格式正確嗎? 用CITATION.cff驗證工具來檢查吧! / Is Your CITATION.cff Format Correct? Check It With the CITATION.cff Validator!

布丁布丁吃布丁

你的CITATION.cff格式正確嗎? 用CITATION.cff驗證工具來檢查吧! / Is Your CITATION.cff Format Correct? Check It With the CITATION.cff Validator!

2025-0107-012249.png

CITATION.cff是用於記錄供人引用資訊的一種YAML純文字格式。那要怎麼知道自己寫的CITATION.cff是否正確呢?我們可以用R套件cffr來驗證。我在Colab把它寫成了可以線上使用的CITATION.cff驗證工具了,讓我們一起來看看怎麼使用吧。

CITATION.cff is a plain text YAML format for recording citation information. How can you tell if your CITATION.cff is correct? We can use the R package cffr for validation. I've created an online CITATION.cff validator using Colab. Let's take a look at how to use it.

(more...)