MCPcopy Create free account

hub / github.com/cognosisai/platform / functions

Functions128 in github.com/cognosisai/platform

↓ 123 callersMethodlog
( m: string )
src/workflows/session.ts:56
↓ 23 callersFunctionsplit_text_by_tokens
(text: string, chunk_size: number, chunk_overlap: number = 0)
src/activities/tokenizer.ts:97
↓ 11 callersFunctionpromptTemplate
( template: string, variables: T, minLength: number = 1, maxLength: number = 50, temperature: number
src/workflows/prompt.ts:16
↓ 9 callersMethodclose
()
src/activities/application/ijavascript.ts:101
↓ 9 callersFunctiongetElasticSearchClient
()
src/activities/elastic.ts:16
↓ 7 callersMethodwrite
(data: string)
src/activities/application/ijavascript.ts:85
↓ 6 callersMethodwriteAndRead
(data: string)
src/activities/application/ijavascript.ts:109
↓ 5 callersMethodaddMessage
(message: TFrame)
src/workflows/session.ts:46
↓ 5 callersFunctiones_drop
(index: string)
src/activities/elastic.ts:106
↓ 5 callersFunctiontokenize_native
(text: string)
src/activities/tokenizer.ts:70
↓ 4 callersFunctionesMappings
(index: string, doc: any)
src/workflows/elastic.ts:32
↓ 4 callersFunctionexecuteLocalWorkflow
( workflowId: string, taskQueue: string, args: any[] )
src/activities/util.ts:91
↓ 3 callersFunctionChatbot
( personality: Personality, context_length: number, user: string, message: string, session: ChatSess
src/workflows/chatbot.ts:72
↓ 3 callersFunctiones_index
( indexname: string, doc: any, refresh: boolean = true )
src/activities/elastic.ts:32
↓ 3 callersFunctionexecuteWorkflow
( address: string, workflowId: string, taskQueue: string, args: any[] )
src/activities/util.ts:74
↓ 3 callersMethodgetInput
( mh: HumanInTheLoopSession<any> )
src/workflows/session.ts:145
↓ 3 callersMethodinit
()
src/workflows/session.ts:157
↓ 3 callersFunctionretryGenerateTextOpenAI
( text: string, min_length: number, max_length: number, temperature: number, top_p: number, model:
src/activities/llm.ts:123
↓ 3 callersMethodsend
( s: string )
src/workflows/session.ts:109
↓ 3 callersFunctionsql2llm_session_multiplexer
( message: wf.SQL2LLMInput )
src/activities/sql2llm.ts:7
↓ 2 callersFunctioncsv_parser_action
( csv: string )
src/activities/util.ts:187
↓ 2 callersFunctionembeddings
( sentences: string[] )
src/workflows/embeddings.ts:22
↓ 2 callersFunctionembeddingsFromTextSearch
( index: string, text: string, k: number )
src/workflows/embeddings.ts:61
↓ 2 callersFunctiones_query
(query: string, params?: any)
src/activities/elastic.ts:80
↓ 2 callersFunctiongenerateTextOpenAI
( text: string, min_length: number, max_length: number, temperature: number, top_p: number, model:
src/activities/llm.ts:93
↓ 2 callersFunctionlogger
(msg: string)
src/workflows/util.ts:12
↓ 2 callersFunctionmapPromptTemplate
( text: string, primarySummarizeTemplate: string = 'Analyze the following text for a detailed summary.\n\n
src/workflows/prompt.ts:349
↓ 2 callersFunctionmysqlQuery
( dbhost: string, dbuser: string, dbpassword: string, dbname: string, sql: string, parameters: Arr
src/workflows/mysql.ts:27
↓ 2 callersFunctionnodeToFunctionCodeFragment
( node: babel.Node )
src/activities/application/codegrunt.ts:94
↓ 2 callersFunctionreducePromptTemplate
( completions: string[], reduceTemplate: string = 'These are a series of summaries that you are going to s
src/workflows/prompt.ts:374
↓ 2 callersFunctionsplitPromptTemplateByLinesOfTokens
( data: string, template: string, minLength: number = 1, maxLength: number = 50, temperature: number
src/workflows/prompt.ts:86
↓ 1 callersFunctionIndexCog
(cog: Cog)
src/workflows/chatbot.ts:394
↓ 1 callersFunctionIndexCogset
(cogset: Cogset)
src/workflows/chatbot.ts:410
↓ 1 callersFunctionSQL2LLM_wf
( input: SQL2LLMInput, session: TSession )
src/workflows/sql2llm.ts:58
↓ 1 callersFunctionactionLogger
(msg: string)
src/activities/util.ts:31
↓ 1 callersMethodaddOutputListener
( listener: string )
src/workflows/session.ts:135
↓ 1 callersFunctionconvertVectorMapToObject
(map: Map<string, number[]>)
src/activities/embeddings.ts:57
↓ 1 callersFunctiondbquery
( dbhost: string, dbuser: string, dbpassword: string, dbname: string, sql: string, parameters: Arr
src/activities/mysql.ts:12
↓ 1 callersFunctionembeddingsSearch
( index: string, vector: number[], k: number )
src/activities/embeddings.ts:113
↓ 1 callersFunctionembeddings_search
( indexname: string, vector: number[], k: number )
src/activities/vector_search.ts:4
↓ 1 callersFunctiones_context
( indexname: string, path: string, line: number )
src/activities/vector_search.ts:44
↓ 1 callersFunctiones_mappings
( index: string, doc: any, dims: number )
src/activities/vector_search.ts:85
↓ 1 callersFunctiones_search
( indexname: string, queryobj: any )
src/activities/elastic.ts:63
↓ 1 callersFunctionexecuteJavascriptNotebook
( p: string )
src/activities/application/ijavascript.ts:260
↓ 1 callersFunctionexecuteJavascriptSnippetLoop
( n: string, socket: Socket, counter: number, original_question: string )
src/activities/application/ijavascript.ts:335
↓ 1 callersFunctionextractFunctions
( code: string, filename: string )
src/activities/application/codegrunt.ts:89
↓ 1 callersFunctionfixJSON
(text: string)
src/workflows/prompt.ts:271
↓ 1 callersFunctiongenerateText
( modelName: string, text: string, minLength: number = 10, maxLength: number = 20, lengthNoInput: bo
src/activities/llm.ts:30
↓ 1 callersMethodgetCog
(id: string)
src/cogs/cog.ts:73
↓ 1 callersMethodgetCogs
()
src/cogs/cog.ts:69
↓ 1 callersMethodgetTeachings
()
src/cogs/cog.ts:40
↓ 1 callersFunctiongpt3_detokenize
(tokens: number[])
src/activities/tokenizer.ts:82
↓ 1 callersFunctiongpt3_tokenize
(text: string)
src/activities/tokenizer.ts:76
↓ 1 callersMethodhandle
( session: ChatSession, args: any, message_sans_args: string )
src/cogs/cog.ts:48
↓ 1 callersFunctioninit_elasticsearch_mappings
()
src/activities/vector_search.ts:118
↓ 1 callersFunctionkeywordsFromQuery
(query: string)
src/workflows/prompt.ts:200
↓ 1 callersFunctionmapreduce_summary
( text: string, primarySummarizeTemplate: string = 'Analyze the following text for a detailed summary.\n\n
src/workflows/prompt.ts:310
↓ 1 callersFunctionmd5sum
(string: string)
src/activities/util.ts:61
↓ 1 callersFunctionminGenerate
( prompt: string, minLength: number, maxLength: number, temperature: number, endSequence: string | n
src/workflows/llm.ts:121
↓ 1 callersFunctionnlp_embeddings
( modelName: string, texts: string[] )
src/activities/embeddings.ts:74
↓ 1 callersFunctionnlp_stable_diffusion
( prompt: string )
src/activities/util.ts:12
↓ 1 callersFunctionnlpcloud_generate
( prompt: string, minLength: number = 10, maxLength: number = 20, lengthNoInput: boolean | null = null
src/workflows/llm.ts:37
↓ 1 callersFunctionnlpcloud_tokenize_x
( text: string, token: string )
src/activities/tokenizer.ts:11
↓ 1 callersFunctionnodeToCodeFragment
( node: babel.Node, lines: Array< string > )
src/activities/application/codegrunt.ts:53
↓ 1 callersFunctionopenai_generate
( prompt: string, min_length: number, max_length: number, temperature: number, top_p: number, endS
src/workflows/llm.ts:92
↓ 1 callersFunctionparse
( code: string, filename: string )
src/activities/application/codegrunt.ts:9
↓ 1 callersFunctionparse_and_fix_csv
( text: string )
src/activities/util.ts:140
↓ 1 callersFunctionpost_message_filtering
( session: ChatSession )
src/workflows/chatbot.ts:421
↓ 1 callersFunctionpromptReducer
( inPrompt: string, variables: any, preamble: string, instructions: string )
src/workflows/prompt.ts:163
↓ 1 callersMethodrecv
( s: string )
src/workflows/session.ts:104
↓ 1 callersMethodremoveOutputListener
( listener: string )
src/workflows/session.ts:140
↓ 1 callersFunctionrun
()
src/worker.ts:7
↓ 1 callersFunctionrun
()
src/cli/client.ts:8
↓ 1 callersFunctionrun
()
src/cli/ijs.ts:7
↓ 1 callersFunctionrun
()
src/cli/recursively-summarise.ts:10
↓ 1 callersFunctionrun
()
src/cli/sql2llm.ts:51
↓ 1 callersFunctionrun
()
src/cli/cognosis.ts:8
↓ 1 callersFunctionsend
( wfid: string, message: FrameInput )
src/workflows/session.ts:175
↓ 1 callersFunctionsplitUp
(arr: T[], size: number)
src/workflows/prompt.ts:155
↓ 1 callersFunctionstoreEmbeddings
( sentences: string[], index: string, documents: any[], alsoTokenize: boolean = false )
src/workflows/embeddings.ts:28
↓ 1 callersFunctiontranslateQuerySpaceToAnswerSpace
( query: string )
src/workflows/prompt.ts:182
↓ 1 callersFunctionwf_axios
( url: string, method: string, headers: any, data: any )
src/activities/util.ts:46
↓ 1 callersFunctionxNLPonDB
( host: string, username: string, password: string, dbname: string, query: string )
src/workflows/mysql.ts:44
FunctionChatbotChuck
( user: string, message: string )
src/workflows/chatbot.ts:276
FunctionChatbotNilp
( user: string, message: string )
src/workflows/chatbot.ts:290
FunctionClassification
( text: string, categories: string[], modelName: "bart-large-mnli-yahoo-answers" | "xlm-roberta-large-xnli" |
src/activities/llm.ts:213
FunctionDumpAndRestoreCogsetTeachings
()
src/workflows/chatbot.ts:416
FunctionIJavascript
(query: string)
src/workflows/application/ijavascript.ts:15
FunctionJStoOBJ
( text: string )
src/activities/util.ts:99
FunctionNLPonDB
(query: string)
src/workflows/mysql.ts:118
FunctionSQL2LLM
( dbname: string | null | undefined, q: string, context: string | null, natural_language_request: boolean )
src/workflows/sql2llm.ts:129
FunctionSQL2LLM_session
( dbname: string, fields: string[], context: string | null )
src/workflows/sql2llm.ts:39
FunctionTranscriptToStructuredData
( transcript: string )
src/workflows/application/call-transcription.ts:10
MethodaddCog
(cog: Cog)
src/cogs/cog.ts:77
Functioncodegrunt_session
( first_message: session_wfs.Frame )
src/workflows/application/codegrunt.ts:18
Methodconstructor
()
src/workflows/session.ts:41
Methodconstructor
( dbname: string, fields: string[] )
src/workflows/sql2llm.ts:32
Methodconstructor
( id: string, teachings: Teaching[], coghandler: CogHandler )
src/cogs/cog.ts:30
Methodconstructor
(cogs: Cog[])
src/cogs/cog.ts:61
Methodconstructor
(port: number, host: string)
src/activities/application/ijavascript.ts:80
next →1–100 of 128, ranked by callers