MCPcopy Create free account

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

Functions516 in github.com/sugarforever/chat-ollama

Method_getClientOptions
( options: OpenAICoreRequestOptions | undefined )
server/models/openai/azure/chat_models.ts:283
Method_getClientOptions
( options: OpenAICoreRequestOptions | undefined )
server/models/openai/azure/chat_models.ts:347
Function_getEstimatedTokenCountFromPrompt
@internal
server/models/openai/chat_models.ts:1084
Function_getNumTokensFromGenerations
@internal
server/models/openai/chat_models.ts:1068
Function_getReasoningParams
* Returns backwards compatible reasoning parameters from constructor params and call options * @internal
server/models/openai/chat_models.ts:830
Function_getResponseFormat
* Returns an openai compatible response format from a set of options * @internal
server/models/openai/chat_models.ts:859
Function_getStructuredOutputMethod
@internal
server/models/openai/chat_models.ts:1126
Function_identifyingParams
@ignore
server/models/openai/chat_models.ts:745
Method_isMultimodalModel
()
server/models/genai/generative-ai.ts:581
Function_llmType
()
server/models/openai/chat_models.ts:651
Method_llmType
()
server/models/openai/llms.ts:491
Method_llmType
()
server/models/openai/azure/chat_models.ts:250
Method_llmType
()
server/models/openai/azure/chat_models.ts:314
Method_llmType
()
server/models/openai/azure/chat_models.ts:790
Method_llmType
()
server/models/genai/generative-ai.ts:720
Function_serializeAzureChat
( this: BaseChatOpenAI<ChatOpenAICallOptions> & Partial<AzureOpenAIChatInput>, input: Serialized )
server/models/openai/azure/chat_models.ts:161
Method_streamResponseChunks
( input: string, options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMRun )
server/models/openai/llms.ts:385
Method_streamResponseChunks
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/openai/chat_models.ts:3498
MethodaddPCM16
(chunk: Uint8Array)
utils/audio-streamer.ts:21
FunctionapplyEnv
* Applies environment variables to the process.env object. * If a value is undefined, the corresponding key will be deleted from process.env. *
server/models/openai/tests/utils.ts:45
FunctionarrayBufferToBase64
(buffer: ArrayBuffer)
utils/multimodal-live.ts:20
MethodattemptTitleGeneration
( context: any, sessionId: number, model: string, family: string )
utils/autoTitleGeneration.ts:25
FunctionbindTools
( tools: ChatOpenAIToolType[], kwargs?: Partial<CallOptions> )
server/models/openai/chat_models.ts:940
FunctionbuildSkillsPrompt
()
server/utils/userSkills.ts:183
FunctioncallKeys
()
server/models/openai/chat_models.ts:659
MethodcallKeys
()
server/models/openai/llms.ts:67
FunctionclearCache
()
composables/useInstructionsCache.ts:51
FunctionclearSessionVersions
* Clears all versions for a session
composables/useArtifacts.ts:374
Methodcomplete
()
utils/audio-streamer.ts:145
MethodcomputeUseSystemInstruction
()
server/models/genai/generative-ai.ts:688
Functionconstructor
(fields?: BaseChatOpenAIFields)
server/models/openai/chat_models.ts:765
Methodconstructor
()
public/worklets/audio-processing.js:2
Methodconstructor
({ url, apiKey }: MultimodalLiveAPIClientConnection)
utils/MultimodalLiveClient.ts:60
Methodconstructor
(public sampleRate = 16000)
utils/audio-recorder.ts:23
Methodconstructor
(config: AutoTitleConfig)
utils/autoTitleGeneration.ts:14
Methodconstructor
(public context: AudioContext)
utils/audio-streamer.ts:15
Methodconstructor
()
server/utils/mcp.ts:32
Methodconstructor
(url: string, options: RecursiveUrlLoaderOptions)
server/utils/recursiveUrlLoader.ts:49
Methodconstructor
(namespace: string)
server/docstore/redis.ts:10
Methodconstructor
(fields?: CohereRerankArgs)
server/rerank/cohere.ts:44
Methodconstructor
( fields?: Partial<OpenAIInput> & BaseLLMParams & { configuration?: ClientOptions; }
server/models/openai/llms.ts:134
Methodconstructor
(protected fields?: ChatOpenAIFields)
server/models/openai/chat_models.ts:3444
Methodconstructor
( fields?: Partial<OpenAIEmbeddingsParams> & { verbose?: boolean; /** * The OpenAI API
server/models/openai/embeddings.ts:99
Methodconstructor
(fields?: DallEAPIWrapperParams)
server/models/openai/tools/dalle.ts:133
Methodconstructor
( fields?: Partial<OpenAIInput> & { openAIApiKey?: string; openAIApiVersion?: string; op
server/models/openai/azure/llms.ts:49
Methodconstructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:278
Methodconstructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:342
Methodconstructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:818
Methodconstructor
( fields?: Partial<OpenAIEmbeddingsParams> & Partial<AzureOpenAIInput> & { verbose?: boolean
server/models/openai/azure/embeddings.ts:26
Methodconstructor
()
server/models/openai/tests/chat_models.standard.int.test.ts:17
Methodconstructor
()
server/models/openai/tests/chat_models.standard.test.ts:11
Methodconstructor
()
server/models/openai/tests/chat_models_responses.standard.int.test.ts:11
Methodconstructor
()
server/models/openai/tests/chat_models_responses.standard.test.ts:11
Methodconstructor
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:20
Methodconstructor
()
server/models/openai/tests/azure/chat_models.standard.test.ts:12
Methodconstructor
(params: GoogleGenerativeAIToolsOutputParserParams<T>)
server/models/genai/output_parsers.ts:35
Methodconstructor
(fields?: GoogleGenerativeAIChatInput)
server/models/genai/generative-ai.ts:585
Methodconstructor
()
composables/clientDB.ts:51
FunctionconvertBaseMessagesToContent
( messages: BaseMessage[], isMultimodalModel: boolean, convertSystemMessageToHumanContent: boolean = fal
server/models/genai/utils/common.ts:181
FunctionconvertResponseContentToChatGenerationChunk
( response: EnhancedGenerateContentResponse, extra: { usageMetadata?: UsageMetadata | undefined in
server/models/genai/utils/common.ts:325
FunctiondeepClone
(obj: T)
composables/helpers.ts:16
FunctiondownloadArtifact
* Downloads an artifact as a file
composables/useArtifacts.ts:260
MethodembeddingWithRetry
( request: OpenAIClient.EmbeddingCreateParams )
server/models/openai/azure/embeddings.ts:66
FunctionexecuteToolHandler
(toolName: string, args: any)
composables/useTools.ts:38
MethodextractMetadataFn
(rawHtml: string, url: string)
server/utils/recursiveUrlLoader.ts:146
FunctionfetchUser
()
composables/useAuth.ts:45
FunctionfetchWithAuth
(request, opts?)
composables/fetchWithAuth.ts:1
FunctionfindLanguageItemByLanguageName
(Code: string)
config/i18n.ts:14
FunctionforkChatSession
(originalSessionId: number, forkFromMessageId: number)
composables/useForkChatSession.ts:8
FunctionformatToOpenAIAssistantTool
( tool: StructuredToolInterface )
server/models/openai/utils/openai.ts:52
FunctionfromStandardAudioBlock
(block)
server/models/openai/chat_models.ts:225
FunctionfromStandardFileBlock
(block)
server/models/openai/chat_models.ts:297
FunctionfromStandardImageBlock
(block)
server/models/openai/chat_models.ts:194
FunctionfromStandardTextBlock
(block)
server/models/openai/chat_models.ts:190
FunctiongenerateTitleWithTrigger
( trigger: SessionTitleTrigger, context: any, model: string, family: string, sessionId: nu
composables/useSessionTitle.ts:99
FunctiongetBrandIconData
(serverKey: string)
composables/useBrandIcons.ts:112
MethodgetConfig
()
utils/MultimodalLiveClient.ts:56
FunctiongetFallbackIcon
(serverKey: string)
composables/useBrandIcons.ts:128
FunctiongetInstructions
(forceRefresh: boolean = false)
composables/useInstructionsCache.ts:44
FunctiongetLatestArtifactVersion
* Gets the latest version of an artifact type in a session
composables/useArtifacts.ts:384
FunctiongetLsParams
(options: this["ParsedCallOptions"])
server/models/openai/chat_models.ts:732
MethodgetLsParams
(options: this["ParsedCallOptions"])
server/models/openai/chat_models.ts:3470
MethodgetLsParams
(options: this["ParsedCallOptions"])
server/models/openai/azure/chat_models.ts:272
MethodgetLsParams
(options: this["ParsedCallOptions"])
server/models/openai/azure/chat_models.ts:336
MethodgetLsParams
(options: this["ParsedCallOptions"])
server/models/genai/generative-ai.ts:705
FunctiongetNumTokensFromMessages
(messages: BaseMessage[])
server/models/openai/chat_models.ts:998
FunctiongetRoleString
(roleEnum: Role)
server/utils/auth.ts:166
MethodgetServerByName
(name: string)
server/utils/mcp.ts:168
FunctiongetSkillsMiddlewareConfig
()
server/utils/userSkills.ts:272
FunctiongetTools
()
composables/useTools.ts:36
MethodgetToolsFromTransport
(serverName: string, transport: StdioClientTransport)
server/utils/mcp.ts:362
FunctiongetUserRoleEnum
(roleString: string)
server/utils/auth.ts:152
FunctionhandleChainEnd
(outputs)
server/models/openai/tests/chat_models_structured_output.int.test.ts:283
FunctionhandleLLMEnd
(output: LLMResult)
server/models/openai/tests/chat_models.int.test.ts:118
FunctionhandleLLMEnd
(output: LLMResult)
server/models/openai/tests/llms.int.test.ts:165
FunctionhandleLLMEnd
(output: LLMResult)
server/models/openai/tests/azure/chat_models.int.test.ts:109
FunctionhandleLLMEnd
(output: LLMResult)
server/models/openai/tests/azure/llms.int.test.ts:170
FunctionhandleLLMNewToken
(token: string)
server/models/openai/tests/chat_models.int.test.ts:183
FunctionhandleLLMNewToken
(token: string)
server/models/openai/tests/chat_models_responses.int.test.ts:794
FunctionhandleLLMNewToken
(token: string)
server/models/openai/tests/llms.int.test.ts:191
← previousnext →301–400 of 516, ranked by callers