MCPcopy Create free account

hub / github.com/sugarforever/chat-ollama / functions

Functions516 in github.com/sugarforever/chat-ollama

↓ 1 callersFunctiongetSkillInfo
(skillName: string)
server/utils/userSkills.ts:150
↓ 1 callersFunctiongetSkillsContext
()
server/utils/userSkills.ts:209
↓ 1 callersFunctioniife
(fn: () => T)
server/models/openai/utils/headers.ts:11
↓ 1 callersMethodinit
()
utils/autoTitleGeneration.ts:18
↓ 1 callersMethodinitializePostgresConnection
(postgresUrl: string)
scripts/migrate-sqlite-to-postgres-simple.ts:92
↓ 1 callersFunctioninteropZodResponseFormat
( zodSchema: InteropZodType, name: string, props: Omit<ResponseFormatJSONSchema.JSONSchema, "schema" | "
server/models/openai/utils/openai.ts:116
↓ 1 callersFunctionisAnyOfProp
(prop: Prop)
server/models/openai/utils/openai-format-fndef.ts:56
↓ 1 callersFunctionisBuiltInToolChoice
( tool_choice: OpenAIToolChoice | ResponsesToolChoice | undefined )
server/models/openai/utils/tools.ts:64
↓ 1 callersFunctionisCustomTool
(tool: unknown)
server/models/openai/utils/tools.ts:86
↓ 1 callersFunctionisCustomToolCall
( toolCall: ToolCall )
server/models/openai/utils/tools.ts:131
↓ 1 callersFunctionisInterrupted
(content: ServerContent)
types/multimodal-live-types.ts:90
↓ 1 callersFunctionisModelTurn
(content: ServerContent)
types/multimodal-live-types.ts:98
↓ 1 callersFunctionisOpenAICustomTool
( tool: ChatOpenAIToolType )
server/models/openai/utils/tools.ts:99
↓ 1 callersFunctionisRealtimeChatEnabled
()
server/utils/realtimeChat.ts:4
↓ 1 callersFunctionisServerContentMessage
(msg: LiveIncomingMessage)
types/multimodal-live-types.ts:74
↓ 1 callersFunctionisSetupCompleteMessage
(msg: LiveIncomingMessage)
types/multimodal-live-types.ts:86
↓ 1 callersFunctionisStructuredOutputMethodParams
( x: unknown // eslint-disable-next-line @typescript-eslint/no-explicit-any )
server/models/openai/chat_models.ts:130
↓ 1 callersFunctionisToolCallCancellationMessage
(msg: LiveIncomingMessage)
types/multimodal-live-types.ts:82
↓ 1 callersFunctionisToolCallMessage
(msg: LiveIncomingMessage)
types/multimodal-live-types.ts:78
↓ 1 callersFunctionisTurnComplete
(content: ServerContent)
types/multimodal-live-types.ts:94
↓ 1 callersFunctionjsonSchemaToGeminiParameters
( // eslint-disable-next-line @typescript-eslint/no-explicit-any schema: Record<string, any> )
server/models/genai/utils/zod_to_genai_parameters.ts:62
↓ 1 callersFunctionlistInstructions
(userId: number | null)
server/api/instruction/index.get.ts:4
↓ 1 callersFunctionlistKnowledgeBase
( id?: string )
server/api/knowledgebases/[id].get.ts:4
↓ 1 callersFunctionlistKnowledgeBases
(userId: number | null)
server/api/knowledgebases/index.get.ts:4
↓ 1 callersFunctionlistSuperAdmins
()
scripts/promote-super-admin.ts:56
↓ 1 callersFunctionloadBrandIcon
(brandKey: BrandKey)
composables/useBrandIcons.ts:74
↓ 1 callersFunctionloadDocuments
(file: MultiPartData)
server/utils/rag.ts:14
↓ 1 callersFunctionloadOllamaInstructions
()
utils/settings.ts:58
↓ 1 callersFunctionloadOpenAIModels
(apiKey: string, forceRefresh = false, silent = true)
composables/useOpenAIModels.ts:12
↓ 1 callersMethodloadToolsFromDatabase
(servers: McpServerConfig[])
server/utils/mcp.ts:53
↓ 1 callersFunctionloadURL
(url: string, options: LoadUrlOptions)
server/utils/rag.ts:39
↓ 1 callersFunctionloadVersionsFromStorage
()
composables/useArtifacts.ts:16
↓ 1 callersFunctionmain
()
scripts/promote-super-admin.ts:101
↓ 1 callersFunctionmain
()
scripts/migrate-sqlite-to-postgres-simple.ts:509
↓ 1 callersFunctionmakeParseableResponseFormat
( response_format: ResponseFormatJSONSchema, parser: (content: string) => ParsedT )
server/models/openai/utils/openai.ts:96
↓ 1 callersFunctionmapGenerateContentResultToChatResult
( response: EnhancedGenerateContentResponse )
server/models/genai/utils.ts:176
↓ 1 callersFunctionmcpServiceSingleton
()
server/utils/mcp.ts:376
↓ 1 callersFunctionmessageContentMedia
(content: MessageContentComplex)
server/models/genai/utils.ts:52
↓ 1 callersFunctionmessageContentMedia
(content: MessageContentComplex)
server/models/genai/utils/common.ts:75
↓ 1 callersMethodmigrateAuthTables
(tx: any, sqliteDbPath: string, dryRun: boolean)
scripts/migrate-sqlite-to-postgres-simple.ts:415
↓ 1 callersFunctionmigrateMcpServers
()
scripts/migrate-mcp-servers.ts:19
↓ 1 callersMethodmigrateSqliteToPostgres
(options: MigrationOptions)
scripts/migrate-sqlite-to-postgres-simple.ts:45
↓ 1 callersFunctionomit
(obj: O, keys: K[])
composables/helpers.ts:1
↓ 1 callersMethodonError
(ev: Event)
utils/MultimodalLiveClient.ts:92
↓ 1 callersFunctionparseCustomToolCall
( // eslint-disable-next-line @typescript-eslint/no-explicit-any rawToolCall: Record<string, any> )
server/models/openai/utils/tools.ts:111
↓ 1 callersFunctionparseModelValue
(val: string)
composables/worker-chatRequest.ts:54
↓ 1 callersFunctionparseSkillFrontmatter
* Parse SKILL.md frontmatter to extract name and description
server/utils/userSkills.ts:45
↓ 1 callersMethodperformMigration
(sqliteDbPath: string, dryRun: boolean)
scripts/migrate-sqlite-to-postgres-simple.ts:129
↓ 1 callersFunctionpingOllama
(endpoint: string)
server/utils/ollama.ts:22
↓ 1 callersFunctionprismaClientSingleton
()
server/utils/prisma.ts:3
↓ 1 callersMethodprocessMultipleGeneratedUrls
* Processes the API response if multiple images are generated. * Returns a list of MessageContentImageUrl objects. If the response * format is `
server/models/openai/tools/dalle.ts:179
↓ 1 callersFunctionprocessStreamingResponse
(reader: ReadableStreamDefaultReader<Uint8Array>)
composables/useQuickChat.ts:126
↓ 1 callersFunctionprocessTools
(tools: GoogleGenerativeAIToolType[])
server/models/genai/utils/tools.ts:39
↓ 1 callersFunctionpromoteUserToSuperAdmin
(identifier: string)
scripts/promote-super-admin.ts:13
↓ 1 callersFunctionproxyFetch
(event: H3Event, apiEndpoint: string, proxyUrl: string)
server/api/proxy.ts:28
↓ 1 callersFunctionproxyTokenGenerate
()
server/utils/proxyToken.ts:5
↓ 1 callersFunctionproxyTokenValidate
(token: string)
server/utils/proxyToken.ts:11
↓ 1 callersMethodreceive
(blob: Blob)
utils/MultimodalLiveClient.ts:151
↓ 1 callersFunctionrenderBlocks
(katex: any)
composables/useKatexClient.ts:14
↓ 1 callersFunctionrequireAdmin
(event: H3Event)
server/utils/auth.ts:88
↓ 1 callersMethodrerank
* Returns an ordered list of documents ordered by their relevance to the provided query. * * @param {Array<DocumentInterface | string | Record<s
server/rerank/cohere.ts:104
↓ 1 callersMethodresetSequences
(tx: any)
scripts/migrate-sqlite-to-postgres-simple.ts:470
↓ 1 callersFunctionrunTests
()
server/models/openai/tests/validate-core-logic.ts:46
↓ 1 callersFunctionrunTests
()
server/models/openai/tests/validate-image-url-parsing.ts:22
↓ 1 callersFunctionsaveInstructions
(name: string, instruction: string, userId: number, isPublic: boolean = false)
server/api/instruction/index.post.ts:3
↓ 1 callersMethodsearch
(search: string)
server/docstore/redis.ts:51
↓ 1 callersMethodsend
(parts: Part | Part[], turnComplete: boolean = true)
utils/MultimodalLiveClient.ts:259
↓ 1 callersFunctionsendAgentRequest
(uid: number, conversationRoundId: string, data: AgentRequestData, headers: Record<string, any>)
composables/useAgentWorker.ts:36
↓ 1 callersMethodserializeDocument
(doc: Document)
server/docstore/redis.ts:15
↓ 1 callersFunctionsignUp
(name: string, email: string, password: string)
server/api/auth/signup.post.ts:10
↓ 1 callersMethodstart
()
utils/audio-recorder.ts:27
↓ 1 callersMethodstop
()
utils/audio-recorder.ts:73
↓ 1 callersMethodtoggleServer
(id: number)
server/utils/mcp.ts:332
↓ 1 callersFunctiontransformMessages
(messages: RequestBody['messages'])
server/api/models/chat/index.post.ts:84
↓ 1 callersFunctiontryParseJson
(json: string, defaultValue: any = null)
composables/utils.ts:10
↓ 1 callersFunctionupdateInstructions
( id: string, name: string, instruction: string, isPublic?: boolean )
server/api/instruction/[id].put.ts:4
↓ 1 callersFunctionupdateOpenAIModels
(models: string[])
config/models.ts:15
↓ 1 callersMethodupdateServer
(id: number, input: McpServerUpdateInput)
server/utils/mcp.ts:223
↓ 1 callersFunctionupdateSessionInDB
(sessionId: number, title: string)
composables/useSessionTitle.ts:67
↓ 1 callersFunctionurlGlob2Regexp
(pattern: string)
composables/utils.ts:5
↓ 1 callersFunctionuseOpenAIModels
()
composables/useOpenAIModels.ts:8
↓ 1 callersFunctionuseSessionTitle
()
composables/useSessionTitle.ts:44
↓ 1 callersFunctionvalidate
(name: string, password: string)
server/api/auth/login.post.ts:10
↓ 1 callersFunctionvalidateTransport
(transport: string)
server/types/mcp.ts:65
FunctionFetchWithAuth
(this: { username: string | null, password: string | null }, input: RequestInfo | URL, init?: RequestInit)
server/utils/index.ts:9
Method_call
@ignore
server/models/openai/tools/dalle.ts:230
Function_combineCallOptions
( additionalOptions?: this["ParsedCallOptions"] )
server/models/openai/chat_models.ts:879
Function_combineLLMOutput
@ignore
server/models/openai/chat_models.ts:975
Method_combineLLMOutput
()
server/models/genai/generative-ai.ts:716
Function_constructAzureFields
( this: Partial<AzureOpenAIChatInput>, fields?: AzureChatOpenAIFields )
server/models/openai/azure/chat_models.ts:53
Function_convertChatOpenAIToolToCompletionsTool
( tool: ChatOpenAIToolType, fields?: { strict?: boolean } )
server/models/openai/chat_models.ts:918
Function_fetchWithAuth
(request: any, opts?: any)
composables/fetchWithAuth.ts:12
Method_generate
* Call out to OpenAI's endpoint with k unique prompts * * @param [prompts] - The prompts to pass into the model. * @param [options] - Optiona
server/models/openai/llms.ts:261
Method_generate
( messages: BaseMessage[], options: this["ParsedCallOptions"] )
server/models/openai/chat_models.ts:1514
Method_generate
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/openai/chat_models.ts:2353
Method_generate
@ignore
server/models/openai/chat_models.ts:3487
Method_generate
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/genai/generative-ai.ts:759
Function_getAzureClientOptions
( this: BaseChatOpenAI<ChatOpenAICallOptions> & Partial<AzureOpenAIChatInput>, options: OpenAICoreRequestO
server/models/openai/azure/chat_models.ts:92
Function_getClientOptions
@internal
server/models/openai/chat_models.ts:889
Method_getClientOptions
( options: OpenAICoreRequestOptions | undefined )
server/models/openai/azure/llms.ts:98
← previousnext →201–300 of 516, ranked by callers