MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,350 in github.com/danielmiessler/Fabric

MethodListModels
(context.Context)
internal/core/plugin_registry_test.go:45
MethodListModels
(context.Context)
internal/plugins/ai/vendors_test.go:22
MethodListModels
(_ context.Context)
internal/plugins/ai/gemini/gemini.go:64
MethodListModels
ListModels retrieves all available foundation models and inference profiles from AWS Bedrock that can be used with this plugin. When using bearer toke
internal/plugins/ai/bedrock/bedrock.go:446
MethodListModels
(_ context.Context)
internal/plugins/ai/ollama/ollama.go:93
MethodListModels
(context.Context)
internal/plugins/ai/exolab/exolab.go:46
MethodListModels
ListModels returns the available models. Microsoft 365 Copilot exposes a single model - the Copilot service itself.
internal/plugins/ai/copilot/copilot.go:163
MethodListModels
(ctx context.Context)
internal/plugins/ai/digitalocean/digitalocean.go:55
MethodListModels
(ctx context.Context)
internal/plugins/ai/openai/openai.go:123
MethodListModels
ListModels overrides the default ListModels to handle different response formats
internal/plugins/ai/openai_compatible/providers_config.go:59
MethodListModels
(_ context.Context)
internal/plugins/ai/perplexity/perplexity.go:56
MethodListModels
ListModels returns the Codex models available to the configured account.
internal/plugins/ai/codex/codex.go:162
MethodListModels
(_ context.Context)
internal/plugins/ai/vertexai/vertexai.go:64
MethodListNames
(shellCompleteList bool)
internal/plugins/db/fsdb/storage.go:104
MethodListNames
ListNames overrides StorageEntity.ListNames to use PatternsEntity.GetNames
internal/plugins/db/fsdb/patterns.go:257
FunctionLog
Log writes a message unconditionally to stderr. This is for important messages that should always be shown regardless of debug level.
internal/log/log.go:70
MethodMarkPRAsNonExistent
MarkPRAsNonExistent marks a PR number as non-existent to avoid future fetches
cmd/generate_changelog/internal/cache/cache.go:390
MethodMarshalJSON
()
internal/chat/chat.go:68
MethodNeedsRawMode
(modelName string)
internal/core/chatter_test.go:70
MethodNeedsRawMode
(string)
internal/core/plugin_registry_test.go:52
MethodNeedsRawMode
NeedsRawMode returns false by default. Vendors that need raw mode (e.g., perplexity, ollama, openai for certain models) override this method.
internal/plugins/plugin.go:138
MethodNeedsRawMode
(string)
internal/plugins/ai/vendors_test.go:29
MethodNeedsRawMode
(modelName string)
internal/plugins/ai/exolab/exolab.go:51
MethodNeedsRawMode
(modelName string)
internal/plugins/ai/openai/openai.go:222
MethodNeedsRawMode
NeedsRawMode overrides the parent implementation to handle provider-specific raw mode requirements
internal/plugins/ai/openai_compatible/providers_config.go:131
MethodNeedsRawMode
(modelName string)
internal/plugins/ai/perplexity/perplexity.go:234
FunctionPOST
({ request })
web/src/routes/chat/+server.ts:5
FunctionPOST
({ request })
web/src/routes/notes/+server.ts:9
FunctionPOST
({ request })
web/src/routes/api/youtube/transcript/+server.ts:5
FunctionPOST
({ request })
web/src/routes/obsidian/+server.ts:16
FunctionParseBoolElseFalse
(val string)
internal/plugins/plugin.go:189
MethodPrint
(shellCompleteList bool)
internal/util/groups_items.go:107
MethodRename
Rename handles the PUT /storage/rename/:oldName/:newName route
internal/server/storage.go:69
MethodRename
(oldName, newName string)
internal/plugins/db/fsdb/storage.go:83
MethodRepository
Repository returns the underlying git repository
cmd/generate_changelog/internal/git/walker.go:421
FunctionReturnItem
(item string)
internal/util/groups_items.go:173
MethodRoundTrip
(req *http.Request)
internal/plugins/ai/bedrock/bedrock_test.go:442
MethodRoundTrip
(req *http.Request)
internal/plugins/ai/ollama/ollama.go:58
MethodRoundTrip
(req *http.Request)
internal/plugins/ai/openai/openai_models_test.go:71
MethodRoundTrip
(*http.Request)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:751
MethodSave
Save handles the POST /storage/save/:name route
internal/server/storage.go:81
MethodSave
(name string, content []byte)
internal/plugins/db/fsdb/patterns.go:281
MethodSavePR
(pr *github.PR)
cmd/generate_changelog/internal/cache/cache.go:144
MethodSend
(ctx context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/core/chatter_test.go:63
MethodSend
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions)
internal/core/plugin_registry_test.go:49
MethodSend
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions)
internal/plugins/ai/vendors_test.go:26
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/gemini/gemini.go:88
MethodSend
Send sends the messages the Bedrock Converse API
internal/plugins/ai/bedrock/bedrock.go:568
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/ollama/ollama.go:142
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/anthropic/anthropic.go:284
MethodSend
Send sends a message to Copilot and returns the response.
internal/plugins/ai/copilot/copilot.go:170
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/openai/openai.go:182
MethodSend
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:138
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/perplexity/perplexity.go:62
MethodSend
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/vertexai/vertexai.go:121
MethodSendStream
(_ context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions, responseChan chan domain
internal/core/chatter_test.go:51
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/core/plugin_registry_test.go:46
MethodSendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_test.go:23
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/lmstudio/lmstudio.go:92
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/gemini/gemini.go:128
MethodSendStream
SendStream sends the messages to the Bedrock ConverseStream API
internal/plugins/ai/bedrock/bedrock.go:491
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/ollama/ollama.go:107
MethodSendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/anthropic/anthropic.go:171
MethodSendStream
SendStream sends a message to Copilot and streams the response.
internal/plugins/ai/copilot/copilot.go:190
MethodSendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/openai.go:140
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/perplexity/perplexity.go:122
MethodSendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/vertexai/vertexai.go:182
FunctionServe
@title Fabric REST API @version 1.0 @description REST API for Fabric AI augmentation framework. Provides endpoints for chat completions, pattern manag
internal/server/serve.go:29
FunctionServeOllama
(registry *core.PluginRegistry, address string, version string)
internal/server/ollama.go:191
FunctionSetLevel
SetLevel sets the global debug level.
internal/log/log.go:33
FunctionSetOutput
SetOutput allows overriding the output destination for debug logs.
internal/log/log.go:78
MethodSetup
()
internal/tools/patterns_loader.go:82
MethodSetup
()
internal/tools/defaults.go:45
MethodSetup
()
internal/core/plugin_registry.go:161
MethodSetup
()
internal/core/chatter_test.go:40
MethodSetup
()
internal/core/plugin_registry_test.go:43
MethodSetup
()
internal/plugins/strategy/strategy.go:101
MethodSetup
()
internal/plugins/ai/vendors.go:130
MethodSetup
()
internal/plugins/ai/vendors_test.go:20
MethodSetup
Setup overrides the default plugin Setup to provide a guided auth flow: 1. Choose auth method: API Key (ABSK) or AWS Access Key + Secret 2. Based on c
internal/plugins/ai/bedrock/bedrock.go:218
MethodSetup
()
internal/plugins/ai/anthropic/anthropic.go:125
MethodSetup
Setup is called by the fabric CLI framework to guide the user through configuration.
internal/plugins/ai/perplexity/perplexity.go:239
MethodSetup
Setup runs interactive Codex configuration, including browser-based OAuth.
internal/plugins/ai/codex/codex.go:96
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/chatter_test.go:44
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/core/plugin_registry_test.go:44
MethodSetupFillEnvFileContent
(fileEnvFileContent *bytes.Buffer)
internal/plugins/plugin.go:132
MethodSetupFillEnvFileContent
(envFileContent *bytes.Buffer)
internal/plugins/ai/vendors.go:46
MethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/ai/vendors_test.go:21
MethodSetupFillEnvFileContent
(_ *bytes.Buffer)
internal/plugins/ai/dryrun/dryrun.go:148
MethodSetupOrSkip
()
internal/plugins/plugin.go:125
MethodSetupVendor
(vendorName string)
internal/core/plugin_registry.go:424
MethodSetupVendor
(vendorName string, configuredVendors map[string]Vendor)
internal/plugins/ai/vendors.go:139
FunctionTestAddImageGenerationTool
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:33
FunctionTestAddImageGenerationToolWithDynamicFormat
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:182
FunctionTestAddImageGenerationToolWithUserParameters
(t *testing.T)
internal/plugins/ai/openai/openai_image_test.go:360
FunctionTestApplyFileChanges
(t *testing.T)
internal/domain/file_manager_test.go:119
FunctionTestApplyTemplate
(t *testing.T)
internal/plugins/template/template_test.go:8
FunctionTestApplyVariables
(t *testing.T)
internal/plugins/db/fsdb/patterns_test.go:44
FunctionTestAzureDeploymentMiddlewareChatCompletions
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:59
FunctionTestAzureDeploymentMiddlewareResponses
(t *testing.T)
internal/plugins/ai/azurecommon/azurecommon_test.go:83
← previousnext →801–900 of 1,350, ranked by callers