Gemini API to do RAG :Retrieval-Augmented Generation

how to use tune a model

before you do this , you have to know How to call Google Gemini API first.

Usage

  1. select https://aistudio.google.com/app/tuned_models/new_tuned_model

2. select Import

3. chose the google sheet file (suggest log in google sheets first before do this )

4. it will show google sheet files in your drive

5. I do the test, only English file is work (2024.0418) but after you use English to tune modal , you still can use other language to ask e.g. Mandarin , so if you do not have English sheet file , make one.

6. so I find this link https://www.trip.com/travel-guide/faq-des/taipei-360/?locale=en_xx and ask chatGPT orangize to table then save to google sheets https://docs.google.com/spreadsheets/d/1J8x3EYZFa-qRizOT48ROvkAirn7pAA8obDMIQBfsRzU/edit?usp=sharing

7. copy the link and paste and select file

--

--

Wolke@林建宏 A Man Co-work with AI use coding tool
A Man Co-work with AI use coding tool

作為一名啟發者而存在。 -致力於分享經驗和知識,幫助開拓、行動、克服。 Badge: - LINE Expert - Google Developer Expert Books: - 應用詠唱釋放程式生產力 ... - 程式輕鬆入門到完整學習 ... Being: - 大學社群論壇