Documentation ¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
- Variables
- func AddFrybotCommand(parent *cobra.Command)
- func Execute()
- func FindMatchingFiles(pattern string) ([]string, error)
- func IsIgnorableFile(file fs.DirEntry) bool
- func PromptAboutFile(prompt string, model frybot.Models, filePaths []string)
- func PromptAboutWorkingDirectory(prompt string, model frybot.Models)
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "frybot",
Short: "A chatGPT bot that answers helpful questions about local files",
Long: `frybot has two primary functions:
1. prompt: a one-off question about local files
2. chat: a chatbot that can answer multiple questions interactively and give you
a conversation history to review and save.`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func AddFrybotCommand ¶
AddFrybotCommand binds the frybot root command to the parent command. Use this to integrate this package into your own CLI.
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func FindMatchingFiles ¶ added in v0.1.0
func IsIgnorableFile ¶
func PromptAboutFile ¶
PromptAboutFile prompts the bot about a file
func PromptAboutWorkingDirectory ¶
PromptAboutWorkingDirectory prompts the bot about the working directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.