Skip to content

SHA-4096/gemini-webpage-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A webpage summarizer based on google gemini

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages