Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sugarforever/chat-ollama
/ functions
Functions
516 in github.com/sugarforever/chat-ollama
⨍
Functions
516
◇
Types & classes
160
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
Method
addPCM16
(chunk: Uint8Array)
utils/audio-streamer.ts:21
Function
applyEnv
* 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
Function
arrayBufferToBase64
(buffer: ArrayBuffer)
utils/multimodal-live.ts:20
Method
attemptTitleGeneration
( context: any, sessionId: number, model: string, family: string )
utils/autoTitleGeneration.ts:25
Function
bindTools
( tools: ChatOpenAIToolType[], kwargs?: Partial<CallOptions> )
server/models/openai/chat_models.ts:940
Function
buildSkillsPrompt
()
server/utils/userSkills.ts:183
Function
callKeys
()
server/models/openai/chat_models.ts:659
Method
callKeys
()
server/models/openai/llms.ts:67
Function
clearCache
()
composables/useInstructionsCache.ts:51
Function
clearSessionVersions
* Clears all versions for a session
composables/useArtifacts.ts:374
Method
complete
()
utils/audio-streamer.ts:145
Method
computeUseSystemInstruction
()
server/models/genai/generative-ai.ts:688
Function
constructor
(fields?: BaseChatOpenAIFields)
server/models/openai/chat_models.ts:765
Method
constructor
()
public/worklets/audio-processing.js:2
Method
constructor
({ url, apiKey }: MultimodalLiveAPIClientConnection)
utils/MultimodalLiveClient.ts:60
Method
constructor
(public sampleRate = 16000)
utils/audio-recorder.ts:23
Method
constructor
(config: AutoTitleConfig)
utils/autoTitleGeneration.ts:14
Method
constructor
(public context: AudioContext)
utils/audio-streamer.ts:15
Method
constructor
()
server/utils/mcp.ts:32
Method
constructor
(url: string, options: RecursiveUrlLoaderOptions)
server/utils/recursiveUrlLoader.ts:49
Method
constructor
(namespace: string)
server/docstore/redis.ts:10
Method
constructor
(fields?: CohereRerankArgs)
server/rerank/cohere.ts:44
Method
constructor
( fields?: Partial<OpenAIInput> & BaseLLMParams & { configuration?: ClientOptions; }
server/models/openai/llms.ts:134
Method
constructor
(protected fields?: ChatOpenAIFields)
server/models/openai/chat_models.ts:3444
Method
constructor
( fields?: Partial<OpenAIEmbeddingsParams> & { verbose?: boolean; /** * The OpenAI API
server/models/openai/embeddings.ts:99
Method
constructor
(fields?: DallEAPIWrapperParams)
server/models/openai/tools/dalle.ts:133
Method
constructor
( fields?: Partial<OpenAIInput> & { openAIApiKey?: string; openAIApiVersion?: string; op
server/models/openai/azure/llms.ts:49
Method
constructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:278
Method
constructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:342
Method
constructor
(fields?: AzureChatOpenAIFields)
server/models/openai/azure/chat_models.ts:818
Method
constructor
( fields?: Partial<OpenAIEmbeddingsParams> & Partial<AzureOpenAIInput> & { verbose?: boolean
server/models/openai/azure/embeddings.ts:26
Method
constructor
()
server/models/openai/tests/chat_models.standard.int.test.ts:17
Method
constructor
()
server/models/openai/tests/chat_models.standard.test.ts:11
Method
constructor
()
server/models/openai/tests/chat_models_responses.standard.int.test.ts:11
Method
constructor
()
server/models/openai/tests/chat_models_responses.standard.test.ts:11
Method
constructor
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:20
Method
constructor
()
server/models/openai/tests/azure/chat_models.standard.test.ts:12
Method
constructor
(params: GoogleGenerativeAIToolsOutputParserParams<T>)
server/models/genai/output_parsers.ts:35
Method
constructor
(fields?: GoogleGenerativeAIChatInput)
server/models/genai/generative-ai.ts:585
Method
constructor
()
composables/clientDB.ts:51
Function
convertBaseMessagesToContent
( messages: BaseMessage[], isMultimodalModel: boolean, convertSystemMessageToHumanContent: boolean = fal
server/models/genai/utils/common.ts:181
Function
convertResponseContentToChatGenerationChunk
( response: EnhancedGenerateContentResponse, extra: { usageMetadata?: UsageMetadata | undefined in
server/models/genai/utils/common.ts:325
Function
deepClone
(obj: T)
composables/helpers.ts:16
Function
downloadArtifact
* Downloads an artifact as a file
composables/useArtifacts.ts:260
Method
embeddingWithRetry
( request: OpenAIClient.EmbeddingCreateParams )
server/models/openai/azure/embeddings.ts:66
Function
executeToolHandler
(toolName: string, args: any)
composables/useTools.ts:38
Method
extractMetadataFn
(rawHtml: string, url: string)
server/utils/recursiveUrlLoader.ts:146
Function
fetchUser
()
composables/useAuth.ts:45
Function
fetchWithAuth
(request, opts?)
composables/fetchWithAuth.ts:1
Function
findLanguageItemByLanguageName
(Code: string)
config/i18n.ts:14
Function
forkChatSession
(originalSessionId: number, forkFromMessageId: number)
composables/useForkChatSession.ts:8
Function
formatToOpenAIAssistantTool
( tool: StructuredToolInterface )
server/models/openai/utils/openai.ts:52
Function
fromStandardAudioBlock
(block)
server/models/openai/chat_models.ts:225
Function
fromStandardFileBlock
(block)
server/models/openai/chat_models.ts:297
Function
fromStandardImageBlock
(block)
server/models/openai/chat_models.ts:194
Function
fromStandardTextBlock
(block)
server/models/openai/chat_models.ts:190
Function
generateTitleWithTrigger
( trigger: SessionTitleTrigger, context: any, model: string, family: string, sessionId: nu
composables/useSessionTitle.ts:99
Function
getBrandIconData
(serverKey: string)
composables/useBrandIcons.ts:112
Method
getConfig
()
utils/MultimodalLiveClient.ts:56
Function
getFallbackIcon
(serverKey: string)
composables/useBrandIcons.ts:128
Function
getInstructions
(forceRefresh: boolean = false)
composables/useInstructionsCache.ts:44
Function
getLatestArtifactVersion
* Gets the latest version of an artifact type in a session
composables/useArtifacts.ts:384
Function
getLsParams
(options: this["ParsedCallOptions"])
server/models/openai/chat_models.ts:732
Method
getLsParams
(options: this["ParsedCallOptions"])
server/models/openai/chat_models.ts:3470
Method
getLsParams
(options: this["ParsedCallOptions"])
server/models/openai/azure/chat_models.ts:272
Method
getLsParams
(options: this["ParsedCallOptions"])
server/models/openai/azure/chat_models.ts:336
Method
getLsParams
(options: this["ParsedCallOptions"])
server/models/genai/generative-ai.ts:705
Function
getNumTokensFromMessages
(messages: BaseMessage[])
server/models/openai/chat_models.ts:998
Function
getRoleString
(roleEnum: Role)
server/utils/auth.ts:166
Method
getServerByName
(name: string)
server/utils/mcp.ts:168
Function
getSkillsMiddlewareConfig
()
server/utils/userSkills.ts:272
Function
getTools
()
composables/useTools.ts:36
Method
getToolsFromTransport
(serverName: string, transport: StdioClientTransport)
server/utils/mcp.ts:362
Function
getUserRoleEnum
(roleString: string)
server/utils/auth.ts:152
Function
handleChainEnd
(outputs)
server/models/openai/tests/chat_models_structured_output.int.test.ts:283
Function
handleLLMEnd
(output: LLMResult)
server/models/openai/tests/chat_models.int.test.ts:118
Function
handleLLMEnd
(output: LLMResult)
server/models/openai/tests/llms.int.test.ts:165
Function
handleLLMEnd
(output: LLMResult)
server/models/openai/tests/azure/chat_models.int.test.ts:109
Function
handleLLMEnd
(output: LLMResult)
server/models/openai/tests/azure/llms.int.test.ts:170
Function
handleLLMNewToken
(token: string)
server/models/openai/tests/chat_models.int.test.ts:183
Function
handleLLMNewToken
(token: string)
server/models/openai/tests/chat_models_responses.int.test.ts:794
Function
handleLLMNewToken
(token: string)
server/models/openai/tests/llms.int.test.ts:191
← previous
next →
301–400 of 516, ranked by callers