MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,442 in github.com/danielmiessler/Fabric

↓ 2 callersMethodbuildMessageText
buildMessageText combines chat messages into a single prompt for Copilot.
internal/plugins/ai/copilot/copilot.go:213
↓ 2 callersFunctionbuildPromptChatRequest
(p PromptRequest, language string)
internal/server/chat.go:243
↓ 2 callersFunctioncaptureInput
captureInput captures the input for a function call
internal/plugins/plugin_test.go:289
↓ 2 callersFunctioncheckForAIError
(summary string)
cmd/generate_changelog/internal/changelog/generator.go:413
↓ 2 callersFunctioncheckImageGenerationCompatibility
checkImageGenerationCompatibility warns if the model doesn't support image generation
internal/plugins/ai/openai/openai.go:101
↓ 2 callersMethodconfigure
()
internal/tools/custom_patterns/custom_patterns.go:35
↓ 2 callersMethodconstructRequest
(msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:102
↓ 2 callersFunctionconvertMessageCommon
convertMessageCommon extracts common conversion logic
internal/plugins/ai/openai/message_conversion.go:14
↓ 2 callersMethodconvertToMarkdown
(file: File)
web/src/lib/services/PdfConversionService.ts:40
↓ 2 callersMethodcountPatternsInDirectory
countPatternsInDirectory counts the number of pattern directories in a given directory
internal/tools/patterns_loader.go:300
↓ 2 callersMethodcreateChatRequest
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/ollama/ollama.go:162
↓ 2 callersMethodcreateChatRequest
( userInput: string, systemPromptText?: string, isPattern: boolean = false, )
web/src/lib/services/ChatService.ts:244
↓ 2 callersMethodcreateConversation
createConversation creates a new Copilot conversation.
internal/plugins/ai/copilot/copilot.go:235
↓ 2 callersFunctioncreateStorageAPI
(entityType: string)
web/src/lib/api/base.ts:61
↓ 2 callersFunctioncreate_pattern
Create a new pattern with necessary files and structure.
scripts/python_ui/streamlit.py:375
↓ 2 callersFunctiondedupInts
(ints []int)
cmd/generate_changelog/internal/git/walker.go:401
↓ 2 callersFunctiondelete
(name: string)
web/src/lib/api/base.ts:75
↓ 2 callersFunctiondetectSystemLocale
detectSystemLocale detects the system locale using standard Unix environment variables. Follows the POSIX priority order for locale environment variab
internal/i18n/locale.go:18
↓ 2 callersMethodensureInput
(pattern *Pattern)
internal/plugins/db/fsdb/patterns.go:88
↓ 2 callersFunctionerror
(message: string)
web/src/lib/services/toast-service.ts:10
↓ 2 callersFunctionextractAccountIDFromJWT
(jwt string)
internal/plugins/ai/codex/token.go:50
↓ 2 callersFunctionextractErrorMessage
(body []byte)
internal/plugins/ai/codex/errors.go:111
↓ 2 callersFunctionextractFlag
(arg string)
internal/cli/flags.go:258
↓ 2 callersFunctionextractModelName
extractModelName extracts the model name from the full resource path Input: "publishers/google/models/gemini-2.0-flash" Output: "gemini-2.0-flash"
internal/plugins/ai/vertexai/models.go:125
↓ 2 callersMethodextractResponseText
extractResponseText extracts the assistant's response from messages.
internal/plugins/ai/copilot/copilot.go:403
↓ 2 callersMethodextractText
(resp *responses.Response)
internal/plugins/ai/openai/openai.go:386
↓ 2 callersMethodfetchPRs
(forcePRSync bool)
cmd/generate_changelog/internal/changelog/generator.go:196
↓ 2 callersMethodfetchStream
( request: ChatRequest, )
web/src/lib/services/ChatService.ts:46
↓ 2 callersFunctionfetch_models_once
Fetch models once and cache the results.
scripts/python_ui/streamlit.py:167
↓ 2 callersFunctionfixMarkdown
(content string)
cmd/generate_changelog/internal/changelog/generator.go:507
↓ 2 callersMethodformatPR
(pr *github.PR)
cmd/generate_changelog/internal/changelog/generator.go:538
↓ 2 callersFunctiongenerateGradientColor
(y: number, height: number)
web/src/lib/components/ui/connections/colors.ts:1
↓ 2 callersMethodgenerateWAVFile
generateWAVFile creates WAV data from PCM data with proper headers
internal/plugins/ai/gemini/gemini.go:397
↓ 2 callersFunctiongetFabricBaseUrl
()
web/src/lib/config/environment.ts:13
↓ 2 callersMethodgetGeminiRegion
Gemini methods using genai SDK with Vertex AI backend getGeminiRegion returns the appropriate region for a Gemini model. Preview models are often only
internal/plugins/ai/vertexai/vertexai.go:262
↓ 2 callersFunctiongetLocaleCandidates
getLocaleCandidates returns a list of locale candidates to try, in order of preference. For example, for "pt-PT" it returns ["pt-PT", "pt", "pt-BR"] (
internal/i18n/i18n.go:210
↓ 2 callersFunctiongetOutputFormatFromExtension
getOutputFormatFromExtension determines the API output format based on file extension
internal/plugins/ai/openai/openai_image.go:39
↓ 2 callersMethodgetSortedGroupsItems
getSortedGroupsItems returns a new slice of GroupItems with both groups and their items sorted alphabetically in a case-insensitive manner. The origin
internal/util/groups_items.go:48
↓ 2 callersFunctionget_outputs_dir
Get the directory for storing outputs.
scripts/python_ui/streamlit.py:1030
↓ 2 callersFunctionhandleSetupAndServerCommands
handleSetupAndServerCommands handles setup and server-related commands Returns (handled, error) where handled indicates if a command was processed and
internal/cli/setup_server.go:14
↓ 2 callersMethodinitParticles
()
web/src/lib/components/ui/connections/ParticleSystem.ts:29
↓ 2 callersFunctioninterpretPdfResult
(result: PdfProcessResult, fileName: string)
web/src/lib/services/PdfConversionService.ts:10
↓ 2 callersFunctionisConversationalModel
isConversationalModel returns true if the model is suitable for text generation/chat Filters out image generation, embeddings, and other non-conversat
internal/plugins/ai/vertexai/models.go:196
↓ 2 callersMethodisDuplicateMessage
(message string, commits []*git.Commit)
cmd/generate_changelog/internal/changelog/generator.go:680
↓ 2 callersFunctionisMergeCommit
isMergeCommit determines if a commit is a merge commit based on its parents and message patterns.
cmd/generate_changelog/internal/changelog/processing.go:37
↓ 2 callersMethodisTTSModel
isTTSModel checks if the model is a text-to-speech model
internal/plugins/ai/gemini/gemini.go:285
↓ 2 callersFunctionisTimeStamp
(s string)
internal/tools/youtube/youtube.go:418
↓ 2 callersFunctionisUsageLimitMessage
(message string)
internal/plugins/ai/codex/errors.go:172
↓ 2 callersFunctionisValidLocale
isValidLocale checks if a locale string can be parsed as a valid language tag.
internal/i18n/locale.go:71
↓ 2 callersFunctionjoinPromptSections
joinPromptSections trims each part, drops empty ones, and joins the rest with newline separators.
internal/core/chatter.go:47
↓ 2 callersMethodloadPattern
(source string)
internal/plugins/db/fsdb/patterns.go:68
↓ 2 callersFunctionmaskSecret
maskSecret redacts a secret value for display, showing only the first 4 and last 4 chars.
internal/plugins/ai/bedrock/bedrock.go:184
↓ 2 callersFunctionmodelPriority
modelPriority returns the sort priority for a model (lower = higher priority)
internal/plugins/ai/vertexai/models.go:153
↓ 2 callersFunctionmodelsURLFor
(t *testing.T, baseURL string)
internal/plugins/ai/openai/models_cache_test.go:28
↓ 2 callersFunctionnewInactiveVendorRegistry
(t *testing.T, defaultVendor, defaultModel string, vendor *testVendor)
internal/core/plugin_registry_test.go:313
↓ 2 callersFunctionnewOllamaEngine
newOllamaEngine makes the engine but does not start it, which lets tests operate the routes. The address parameter is the /api/chat forward target, no
internal/server/ollama.go:225
↓ 2 callersFunctionnewTraversalFixture
newTraversalFixture returns a storage entity in a temporary root and a marker file out of the entity directory. It also returns a check that fails the
internal/plugins/db/fsdb/storage_test.go:76
↓ 2 callersFunctionnormalizeLocale
normalizeLocale converts various locale formats to BCP 47 language tags. Examples: - "en_US.UTF-8" -> "en-US" - "fr_FR@euro" -> "fr-FR" - "zh_CN.GB231
internal/i18n/locale.go:40
↓ 2 callersFunctionnormalizeSemverLikeVersion
(version string)
internal/plugins/ai/codex/token.go:87
↓ 2 callersFunctionnormalizeToBCP47
normalizeToBCP47 normalizes a locale string to BCP 47 format. Converts underscores to hyphens and ensures proper casing (language-REGION).
internal/i18n/i18n.go:184
↓ 2 callersFunctionparseGeminiThinking
parseGeminiThinking converts thinking level to Gemini thinking config
internal/plugins/ai/vertexai/vertexai.go:319
↓ 2 callersFunctionparseOllamaNumCtx
parseOllamaNumCtx extracts and validates the num_ctx parameter from Ollama request options. Returns: - (0, nil) if num_ctx is not present or is null -
internal/server/ollama.go:93
↓ 2 callersFunctionparseReasoningEffort
(level domain.ThinkingLevel)
internal/plugins/ai/openai/openai.go:244
↓ 2 callersFunctionparseSeconds
(secondsStr string)
internal/tools/youtube/youtube.go:480
↓ 2 callersFunctionparseTimestampToSeconds
parseTimestampToSeconds converts timestamp string (HH:MM:SS or MM:SS) to total seconds
internal/tools/youtube/youtube.go:447
↓ 2 callersFunctionparseTokenClaims
(jwt string)
internal/plugins/ai/codex/token.go:58
↓ 2 callersMethodpostMessage
(data: { id: number; buffer: ArrayBuffer }, transfer: Transferable[])
web/src/lib/services/PdfConversionService.test.ts:108
↓ 2 callersFunctionrandomBase64URL
(size int)
internal/plugins/ai/codex/oauth.go:278
↓ 2 callersFunctionrejectInvalidStorageName
rejectInvalidStorageName answers a 400 when name does not obey storage-name validation. An empty name passes, because the fields that this guards are
internal/server/storage.go:44
↓ 2 callersFunctionremoveVTTTags
(s string)
internal/tools/youtube/youtube.go:422
↓ 2 callersMethodrequest
(requestURL string)
internal/tools/jina/jina.go:45
↓ 2 callersMethodrunOAuthFlow
( ctx context.Context, openBrowserFn func(string) error, )
internal/plugins/ai/codex/oauth.go:53
↓ 2 callersFunctionsanitize_input_content
Sanitize input content by removing or replacing problematic characters. Args: input_text: The input text to sanitize Returns:
scripts/python_ui/streamlit.py:771
↓ 2 callersMethodsaveRegistry
()
internal/plugins/template/extension_registry.go:309
↓ 2 callersFunctionsave_output_log
Save pattern execution log.
scripts/python_ui/streamlit.py:665
↓ 2 callersMethodsendResponses
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/openai/openai.go:190
↓ 2 callersFunctionshouldIncludeRepeat
shouldIncludeRepeat determines if repeated content should be included based on time gap
internal/tools/youtube/youtube.go:428
↓ 2 callersMethodshouldUseImageGeneration
shouldUseImageGeneration determines if image generation should be enabled This is a heuristic based on the presence of --image-file flag
internal/plugins/ai/openai/openai_image.go:101
↓ 2 callersFunctionsortModels
sortModels sorts models by priority: Gemini > Claude > Others Within each group, models are sorted alphabetically
internal/plugins/ai/vertexai/models.go:139
↓ 2 callersMethodsupportsResponsesAPI
supportsResponsesAPI determines if the provider supports the new Responses API
internal/plugins/ai/openai/openai.go:218
↓ 2 callersFunctionsymlinkContained
symlinkContained rejects an entry at path if the entry resolves, through symlinks, to a target outside absDir. A missing entry passes, because the lex
internal/plugins/db/fsdb/storage.go:224
↓ 2 callersMethodtoMessages
toMessages converts the array of input messages from the ChatCompletionMessageType to the Bedrock Converse Message type. The system role messages are
internal/plugins/ai/bedrock/bedrock.go:606
↓ 2 callersFunctiontokenNeedsRefresh
(jwt string, now time.Time)
internal/plugins/ai/codex/token.go:31
↓ 2 callersMethodtryMethodYtDlpInternal
tryMethodYtDlpInternal is a helper function to reduce duplication between tryMethodYtDlp and tryMethodYtDlpWithTimestamps.
internal/tools/youtube/youtube.go:221
↓ 2 callersFunctionvalidateImageFile
validateImageFile validates the image file path and extension
internal/cli/flags.go:353
↓ 2 callersFunctionvalidateImageParameters
validateImageParameters validates image generation parameters
internal/cli/flags.go:375
↓ 2 callersFunctionvalidate_input_content
Validate input content for potentially problematic characters or patterns. Args: input_text: The input text to validate Returns:
scripts/python_ui/streamlit.py:724
↓ 2 callersFunctionvalidate_pattern
Validate a pattern's structure and content.
scripts/python_ui/streamlit.py:915
↓ 2 callersFunctionwrapPublicError
(message string, statusCode int, providerMessage string)
internal/plugins/ai/codex/errors.go:87
↓ 2 callersFunctionwriteFileAtomic
(path string, content []byte)
internal/plugins/db/fsdb/db.go:169
↓ 2 callersFunctionwriteOllamaResponseStruct
writeOllamaResponseStruct marshals the provided OllamaResponse and writes it as newline-delimited JSON to the HTTP response stream.
internal/server/ollama.go:592
↓ 1 callersMethodAddSetupQuestionCustomBool
(name string, required bool, question string)
internal/plugins/plugin.go:90
↓ 1 callersMethodAppendMessage
(message string)
internal/cli/flags.go:549
↓ 1 callersMethodApply
Apply executes file operations: - read:PATH - Read entire file content - tail:PATH|N - Read last N lines - exists:PATH - Check if file exists - size:P
internal/plugins/template/file.go:58
↓ 1 callersMethodApply
Apply executes the requested text operation on the provided value
internal/plugins/template/text.go:35
↓ 1 callersMethodApply
Apply executes fetch operations: - get:URL: Fetches content from URL, returns text content
internal/plugins/template/fetch.go:36
↓ 1 callersMethodApply
Apply executes datetime operations with the following formats: Time: now (RFC3339), time (HH:MM:SS), unix (timestamp) Hour: startofhour, endofhour Dat
internal/plugins/template/datetime.go:22
↓ 1 callersMethodAuthHeader
AuthHeader returns the Bedrock auth header (Bearer token)
internal/plugins/ai/azureaigateway/backend_bedrock.go:56
↓ 1 callersMethodAuthHeader
AuthHeader returns the header name and value for authentication. Each APIM backend uses a different auth header: Bedrock: "Authorization", "Beare
internal/plugins/ai/azureaigateway/azureaigateway.go:48
↓ 1 callersMethodAuthHeader
AuthHeader returns the Vertex AI auth header (Google API key via APIM)
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:51
← previousnext →301–400 of 1,442, ranked by callers