Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 551 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 551 Bytes

Gemini Webpage Summarier

A webpage summarizer based on google's gemini API

Usage

In your code

import github.com/SHA-4096/gemini-webpage-summarizer/websum

Download this package by go mod

go mod tidy

Initialize the gemini chat session or use your existing client,session and context:

InitWebsumWithGeminiApiKey(YOUR_API_KEY)

or

ImportExistingClientAndChatSession(client,chatSession,context)

Use GetWebpageSummary() to get a summary of a webpage

summary,err := GetWebPageSummary(url)