Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 787 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 787 Bytes

Usage

Open Google Colab and click GitHub in the menu on the left side.

Enter https://github.com/rignitc/hAIck.py_2025/blob/main/hAIck.ipynb in the link textbox and click Enter.

Note

Be sure to connect to T4 GPU!

Click Runtime and click Run all.

Tip

If you want to include general search using Google API then:

Add a Google Search API and Engine key in rag-main.py

def web_search(query, num_results=3):
   search_api_key = ""
   search_engine_id = ""
   url = f"https://www.googleapis.com/customsearch/v1?q={query}&key={search_api_key}&cx={search_engine_id}"
   response = requests.get(url)
...

This ensures that it can query the API with your own key and return answers as required.