services

package
v0.0.0-...-d5fecd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessVideosWorkflow

func ProcessVideosWorkflow(videos []DomainVideo) (string, error)

func SendToSummarizationAPI

func SendToSummarizationAPI(transcriptions []TranscriptionResult) (string, error)

func TranscriptionAPI

func TranscriptionAPI(audioFilePath string) (string, error)

Types

type ChatGPTRequest

type ChatGPTRequest struct {
	Prompt string `json:"prompt"`
}

type DomainVideo

type DomainVideo struct {
	ID          string
	Description string
	Title       string
}

func GetYouTubeVideos

func GetYouTubeVideos(q Query) ([]DomainVideo, error)

type Query

type Query string

type TranscriptionResult

type TranscriptionResult struct {
	VideoID       string
	Transcription string
	Error         error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL