Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,368 in github.com/danielmiessler/Fabric
⨍
Functions
1,368
◇
Types & classes
226
Method
HandleChat
HandleChat godoc @Summary Stream chat completions @Description Stream AI responses using Server-Sent Events (SSE) @Tags chat @Accept json @Produce tex
internal/server/chat.go:71
Method
HasGroup
(group string)
internal/util/groups_items.go:135
Method
HasVendors
()
internal/plugins/ai/vendors.go:67
Method
IsConfigured
()
internal/tools/patterns_loader.go:72
Method
IsConfigured
()
internal/core/chatter_test.go:32
Method
IsConfigured
()
internal/core/plugin_registry_test.go:41
Method
IsConfigured
()
internal/plugins/strategy/strategy.go:91
Method
IsConfigured
()
internal/plugins/ai/vendors_test.go:18
Method
IsConfigured
IsConfigured returns true only if OLLAMA_API_URL environment variable is explicitly set
internal/plugins/ai/ollama/ollama.go:66
Method
IsConfigured
IsConfigured returns true if the API key is configured
internal/plugins/ai/anthropic/anthropic.go:105
Method
IsConfigured
IsConfigured returns true if the client has valid configuration.
internal/plugins/ai/copilot/copilot.go:152
Method
IsPRMarkedAsNonExistent
IsPRMarkedAsNonExistent checks if a PR is marked as non-existent
cmd/generate_changelog/internal/cache/cache.go:399
Method
ListExtensions
()
internal/plugins/template/extension_registry.go:277
Method
ListModels
(context.Context)
internal/core/chatter_test.go:47
Method
ListModels
(context.Context)
internal/core/plugin_registry_test.go:45
Method
ListModels
(context.Context)
internal/plugins/ai/vendors_test.go:22
Method
ListModels
(_ context.Context)
internal/plugins/ai/gemini/gemini.go:64
Method
ListModels
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
Method
ListModels
(_ context.Context)
internal/plugins/ai/ollama/ollama.go:93
Method
ListModels
(context.Context)
internal/plugins/ai/exolab/exolab.go:46
Method
ListModels
ListModels returns the available models. Microsoft 365 Copilot exposes a single model - the Copilot service itself.
internal/plugins/ai/copilot/copilot.go:163
Method
ListModels
(ctx context.Context)
internal/plugins/ai/digitalocean/digitalocean.go:55
Method
ListModels
(ctx context.Context)
internal/plugins/ai/openai/openai.go:123
Method
ListModels
ListModels overrides the default ListModels to handle different response formats
internal/plugins/ai/openai_compatible/providers_config.go:59
Method
ListModels
(_ context.Context)
internal/plugins/ai/perplexity/perplexity.go:56
Method
ListModels
ListModels returns the Codex models available to the configured account.
internal/plugins/ai/codex/codex.go:162
Method
ListModels
(_ context.Context)
internal/plugins/ai/vertexai/vertexai.go:64
Method
ListNames
(shellCompleteList bool)
internal/plugins/db/fsdb/storage.go:104
Method
ListNames
ListNames overrides StorageEntity.ListNames to use PatternsEntity.GetNames
internal/plugins/db/fsdb/patterns.go:261
Function
Log
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
Method
MarkPRAsNonExistent
MarkPRAsNonExistent marks a PR number as non-existent to avoid future fetches
cmd/generate_changelog/internal/cache/cache.go:390
Method
MarshalJSON
()
internal/chat/chat.go:68
Method
NeedsRawMode
(modelName string)
internal/core/chatter_test.go:70
Method
NeedsRawMode
(string)
internal/core/plugin_registry_test.go:52
Method
NeedsRawMode
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
Method
NeedsRawMode
(string)
internal/plugins/ai/vendors_test.go:29
Method
NeedsRawMode
(modelName string)
internal/plugins/ai/exolab/exolab.go:51
Method
NeedsRawMode
(modelName string)
internal/plugins/ai/openai/openai.go:222
Method
NeedsRawMode
NeedsRawMode overrides the parent implementation to handle provider-specific raw mode requirements
internal/plugins/ai/openai_compatible/providers_config.go:131
Method
NeedsRawMode
(modelName string)
internal/plugins/ai/perplexity/perplexity.go:234
Function
POST
({ request })
web/src/routes/chat/+server.ts:5
Function
POST
({ request })
web/src/routes/notes/+server.ts:9
Function
POST
({ request })
web/src/routes/api/youtube/transcript/+server.ts:5
Function
POST
({ request })
web/src/routes/obsidian/+server.ts:16
Function
ParseBoolElseFalse
(val string)
internal/plugins/plugin.go:189
Method
Print
(shellCompleteList bool)
internal/util/groups_items.go:107
Method
Rename
Rename handles the PUT /storage/rename/:oldName/:newName route
internal/server/storage.go:69
Method
Rename
(oldName, newName string)
internal/plugins/db/fsdb/storage.go:83
Method
Repository
Repository returns the underlying git repository
cmd/generate_changelog/internal/git/walker.go:421
Function
ReturnItem
(item string)
internal/util/groups_items.go:173
Method
RoundTrip
(req *http.Request)
internal/plugins/ai/bedrock/bedrock_test.go:442
Method
RoundTrip
(req *http.Request)
internal/plugins/ai/ollama/ollama.go:58
Method
RoundTrip
(req *http.Request)
internal/plugins/ai/openai/openai_models_test.go:71
Method
RoundTrip
(*http.Request)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:751
Method
Save
Save handles the POST /storage/save/:name route
internal/server/storage.go:81
Method
Save
(name string, content []byte)
internal/plugins/db/fsdb/patterns.go:285
Method
SavePR
(pr *github.PR)
cmd/generate_changelog/internal/cache/cache.go:144
Method
Send
(ctx context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/core/chatter_test.go:63
Method
Send
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions)
internal/core/plugin_registry_test.go:49
Method
Send
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions)
internal/plugins/ai/vendors_test.go:26
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/gemini/gemini.go:88
Method
Send
Send sends the messages the Bedrock Converse API
internal/plugins/ai/bedrock/bedrock.go:568
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/ollama/ollama.go:142
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/anthropic/anthropic.go:286
Method
Send
Send sends a message to Copilot and returns the response.
internal/plugins/ai/copilot/copilot.go:170
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/openai/openai.go:182
Method
Send
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:138
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/perplexity/perplexity.go:62
Method
Send
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/vertexai/vertexai.go:121
Method
SendStream
(_ context.Context, messages []*chat.ChatCompletionMessage, opts *domain.ChatOptions, responseChan chan domain
internal/core/chatter_test.go:51
Method
SendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/core/plugin_registry_test.go:46
Method
SendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendors_test.go:23
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/lmstudio/lmstudio.go:92
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/gemini/gemini.go:128
Method
SendStream
SendStream sends the messages to the Bedrock ConverseStream API
internal/plugins/ai/bedrock/bedrock.go:491
Method
SendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/anthropic/anthropic.go:173
Method
SendStream
SendStream sends a message to Copilot and streams the response.
internal/plugins/ai/copilot/copilot.go:190
Method
SendStream
( ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stre
internal/plugins/ai/openai/openai.go:140
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/perplexity/perplexity.go:122
Method
SendStream
(_ context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.StreamUp
internal/plugins/ai/vertexai/vertexai.go:182
Function
Serve
@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
Function
ServeOllama
(registry *core.PluginRegistry, address string, version string)
internal/server/ollama.go:191
Function
SetLevel
SetLevel sets the global debug level.
internal/log/log.go:33
Function
SetOutput
SetOutput allows overriding the output destination for debug logs.
internal/log/log.go:78
Method
Setup
()
internal/tools/patterns_loader.go:82
Method
Setup
()
internal/tools/defaults.go:45
Method
Setup
()
internal/core/plugin_registry.go:161
Method
Setup
()
internal/core/chatter_test.go:40
Method
Setup
()
internal/core/plugin_registry_test.go:43
Method
Setup
()
internal/plugins/strategy/strategy.go:101
Method
Setup
()
internal/plugins/ai/vendors.go:130
Method
Setup
()
internal/plugins/ai/vendors_test.go:20
Method
Setup
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
Method
Setup
()
internal/plugins/ai/anthropic/anthropic.go:127
Method
Setup
Setup is called by the fabric CLI framework to guide the user through configuration.
internal/plugins/ai/perplexity/perplexity.go:239
Method
Setup
Setup runs interactive Codex configuration, including browser-based OAuth.
internal/plugins/ai/codex/codex.go:96
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/core/chatter_test.go:44
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/core/plugin_registry_test.go:44
Method
SetupFillEnvFileContent
(fileEnvFileContent *bytes.Buffer)
internal/plugins/plugin.go:132
Method
SetupFillEnvFileContent
(envFileContent *bytes.Buffer)
internal/plugins/ai/vendors.go:46
← previous
next →
801–900 of 1,368, ranked by callers