Documentation ¶
Index ¶
Constants ¶
View Source
const GPT_MSG_MAX_LEN = 2048
Variables ¶
This section is empty.
Functions ¶
func IsYoutubeUrlToSpecificVideo ¶
returns true if url is youtube url to specific video
Types ¶
type ChatGptTagsFetcher ¶
type ChatGptTagsFetcher struct {
OpenAiApiKey string
}
type KeyWordsFetcher ¶
KeyWordsFetcher is an interface for fetching keywords from by a certain request
type YoutubeTagsFetcher ¶
type YoutubeTagsFetcher struct {
ApiKey string
}
func (*YoutubeTagsFetcher) Fetch ¶
func (fetcher *YoutubeTagsFetcher) Fetch(request string) ([]string, error)
fetches list of tags from Youtube video request must be an url to Youtube video in format https://www.youtube.com/watch?v=... or https://youtu.be/...
Click to show internal directories.
Click to hide internal directories.