MCPcopy Index your code

hub / github.com/microsoft/poml / functions

Functions726 in github.com/microsoft/poml

↓ 4 callersMethodgetExpressionEvaluations
(range: Range)
packages/poml/file.tsx:427
↓ 4 callersMethodgetProviderApiUrl
(settings: LanguageModelSetting, runtime?: { [key: string]: any })
packages/poml-vscode/command/testCommand.ts:626
↓ 4 callersFunctionisObject
(item: any)
packages/poml/util/index.ts:6
↓ 4 callersMethodparseGeneralElement
(element: cheerio.Cheerio<any>, $: cheerio.CheerioAPI)
packages/poml/writer.ts:1667
↓ 4 callersFunctionparsePythonStyleSlice
(slice: string, totalLength: number)
packages/poml/components/utils.tsx:229
↓ 4 callersFunctionpreprocessImage
(args: PreprocessImageArgs)
packages/poml/util/image.ts:61
↓ 4 callersMethodprocessMultipleTableRows
( elements: cheerio.Cheerio<any>, $: cheerio.CheerioAPI )
packages/poml/writer.ts:1090
↓ 4 callersMethodreact
(context?: { [key: string]: any })
packages/poml/file.tsx:277
↓ 4 callersFunctionreactRender
(element: React.ReactElement, shellOnly?: boolean)
packages/poml/util/reactRender.ts:28
↓ 4 callersFunctionreadBufferCached
(filePath: string)
packages/poml/components/document.tsx:13
↓ 4 callersFunctionreadSource
(source: string, directory?: string | undefined, type?: AnyValue)
packages/poml/util/index.ts:41
↓ 4 callersFunctionrichContentToToolResult
(content: any)
packages/poml/tests/index.test.tsx:948
↓ 4 callersMethodsetResourceOptions
(resource: vscode.Uri, options: ResourceOptions)
packages/poml-vscode/settings.ts:142
↓ 4 callersMethodtask
Task represents the action you want the language model to perform. It is a directive or instruction that you want the model to follow.
python/poml/_tags.py:91
↓ 4 callersFunctionto_strict_json_schema
Convert a Pydantic model to a strict JSON schema suitable for OpenAI function calling and response format. This function takes a Pydantic Ba
python/poml/integration/pydantic.py:16
↓ 4 callersMethodtruncateText
( text: string, charLimit?: number, tokenLimit?: number, options?: TruncateOptions )
packages/poml/writer.ts:90
↓ 4 callersFunctionuseWithCatch
(promise: Promise<T>, props: PropsBase)
packages/poml/base.tsx:466
↓ 4 callersMethodwriteMessages
* Convert an IR string into an array of speaker messages. * * It internally uses {@link writeMessagesWithSourceMap} and removes the * mapping
packages/poml/writer.ts:270
↓ 4 callersFunctionwriteWithSourceMap
(ir: string, options?: WriteOptions)
packages/poml/index.ts:105
↓ 4 callersFunctionxmlElementText
(element: XMLElement)
packages/poml/file.tsx:1597
↓ 3 callersFunction_current_trace_version
Return the current trace version.
python/poml/api.py:120
↓ 3 callersMethodbuildSourceMap
* Transform a {@link WriterResult} into discrete source map segments. * * The segments are ordered so that rich content can be reconstructed in
packages/poml/writer.ts:455
↓ 3 callersMethodconsolidateSpace
(space1: string, space2: string)
packages/poml/writer.ts:783
↓ 3 callersFunctioncreatePosterForVsCode
(vscode: any)
packages/poml-vscode-webview/util.ts:20
↓ 3 callersFunctiondeepMerge
(target: any, source: any)
packages/poml/util/index.ts:4
↓ 3 callersMethoddoUpdate
()
packages/poml-vscode/panel/panel.ts:446
↓ 3 callersFunctiondumpTrace
(markup: string, context?: any, stylesheet?: any, result?: any, sourcePath?: string, prettyResult?: string)
packages/poml/util/trace.ts:98
↓ 3 callersFunctionfindComponentByAlias
( alias: string, disabled?: Set<string> )
packages/poml/base.tsx:1031
↓ 3 callersMethodgetComponent
( name: string, returnReasonIfNotFound: boolean | Set<string> = false, disabled: Set<string> | und
packages/poml/base.tsx:929
↓ 3 callersMethodgetPreviewTitle
(resource: vscode.Uri, locked: boolean)
packages/poml-vscode/panel/panel.ts:385
↓ 3 callersMethodgetProviderApiKey
(settings: LanguageModelSetting, runtime?: { [key: string]: any })
packages/poml-vscode/command/testCommand.ts:620
↓ 3 callersMethodgetWebviewOptions
( resource: vscode.Uri, context: vscode.ExtensionContext )
packages/poml-vscode/panel/panel.ts:494
↓ 3 callersFunctionhtmlToPoml
( element: cheerio.Cheerio<any>, $: cheerio.CheerioAPI, options?: DocumentProps )
packages/poml/components/document.tsx:114
↓ 3 callersFunctionhyphenToCamelCase
(text: string)
packages/poml/file.tsx:1521
↓ 3 callersMethodloadAndCacheSettings
( resource: vscode.Uri )
packages/poml-vscode/settings.ts:114
↓ 3 callersMethodparagraph
Paragraph (`<p>`) is a standalone section preceded by and followed by two blank lines in markup syntaxes. It's mostly used for text contents.
python/poml/_tags.py:922
↓ 3 callersFunctionpdfParse
(pdfBuffer: ArrayBuffer | Buffer, maxPages?: number)
packages/poml/util/pdf.ts:30
↓ 3 callersFunctionpomlVscodePanelContent
(config: PomlVscodePanelContentProps)
packages/poml-vscode/panel/content.tsx:365
↓ 3 callersFunctionreadPdfFromPath
( filePath: string, options?: DocumentProps )
packages/poml/components/document.tsx:51
↓ 3 callersMethodrefresh
()
packages/poml-vscode/panel/panel.ts:279
↓ 3 callersMethodremoveTool
* Removes a tool from the collection. * @param name The name of the tool to remove * @returns true if the tool was removed, false if it didn't e
packages/poml/util/schema.ts:235
↓ 3 callersFunctionreplaceBuffers
(value: any)
packages/poml/util/trace.ts:6
↓ 3 callersMethodsetPreviewActiveContext
(value: boolean)
packages/poml-vscode/panel/manager.ts:151
↓ 3 callersFunctionsetTrace
(enabled = true, dir?: string)
packages/poml/util/trace.ts:34
↓ 3 callersFunctionshowPreview
( webviewManager: POMLWebviewPanelManager, uri: vscode.Uri | undefined, previewSettings: ShowPreviewSett
packages/poml-vscode/command/showPreview.ts:15
↓ 3 callersMethodupdate
(entries: PromptEntry[])
packages/poml-vscode/chat/gallery.ts:35
↓ 3 callersMethodwriteElementTreeImpl
( element: cheerio.Cheerio<any>, $: cheerio.CheerioAPI )
packages/poml/writer.ts:1173
↓ 3 callersFunctionwriteOrCheck
(filePath: string, content: string)
packages/poml-vscode/lsp/parseComments.ts:11
↓ 3 callersFunctionwrite_file
(content: str)
python/poml/api.py:180
↓ 3 callersFunctionxmlElementContents
(element: XMLElement)
packages/poml/file.tsx:1591
↓ 2 callersMethod_generate_xml_string
Serializes the built XML structure to a string. Can optionally pretty-print the output.
python/poml/prompt.py:131
↓ 2 callersFunction_readWithFile
( element: React.ReactElement | string, options?: PomlReaderOptions, context?: { [key: string]: any },
packages/poml/index.ts:42
↓ 2 callersFunction_rich_content_to_text
Convert rich content to text representation.
python/poml/api.py:329
↓ 2 callersMethodaddContext
(file: string)
packages/poml-vscode/panel/panel.ts:323
↓ 2 callersMethodaddNode
(document: XMLNode, element: cheerio.Cheerio<any>, $: cheerio.CheerioAPI)
packages/poml/writer.ts:1389
↓ 2 callersMethodaddOpenAPITool
* Adds a tool with an OpenAPI schema to the collection. * @param name The name of the tool * @param description A description of what the tool d
packages/poml/util/schema.ts:129
↓ 2 callersFunctionappend
(txt: string)
packages/poml/base.tsx:88
↓ 2 callersFunctionbasename
(p: string)
packages/poml-vscode-webview/toolbar.ts:15
↓ 2 callersFunctioncheck_prompt
Check the prompt details and content. Args: prompt_name: The name of the prompt to check
python/tests/integration/mlflow_utils.py:58
↓ 2 callersFunctioncheck_trace
Check the trace details and verify required operations are present. Args: must_have_ops: List of operation names that must be presen
python/tests/integration/weave_utils.py:7
↓ 2 callersFunctioncheck_trace
Check the trace details and metrics after a delay. Args: trace_id: The ID of the trace to check api_key: The API key for aut
python/tests/integration/agentops_utils.py:89
↓ 2 callersFunctionclampLine
(line: number)
packages/poml-vscode-webview/scrollSync.ts:10
↓ 2 callersFunctioncompareVersions
(a: string, b: string)
packages/poml/file.tsx:1537
↓ 2 callersFunctioncomputePresentationOrUndefined
( props: | PropsMarkupBase | PropsSerializeBase | PropsFreeBase | PropsMultiMediaBase |
packages/poml/presentation.tsx:87
↓ 2 callersMethodcomputeTokens
(content: RichContent, model: string)
packages/poml-vscode/lsp/server.ts:341
↓ 2 callersMethodconcatMarkdownBoxes
(boxes: MarkdownBox[], element?: cheerio.Cheerio<any>)
packages/poml/writer.ts:845
↓ 2 callersFunctioncreatePanel
(uri: vscode.Uri, context: vscode.ExtensionContext)
packages/poml-vscode/tests/panelAutoAdd.test.ts:20
↓ 2 callersFunctiondisplayStringOrMultimedia
(media: ContentMultiMedia | string, key?: string)
packages/poml/components/message.tsx:88
↓ 2 callersMethoddispose
()
packages/poml-vscode/panel/panel.ts:231
↓ 2 callersFunctionestimateImageTokens
( width: number, height: number, { model, detail = 'high', billable = false }: Options, )
packages/poml/util/tokenCounterImage.ts:63
↓ 2 callersMethodextractProviderValue
(value: ApiConfigValue | undefined, provider: string)
packages/poml-vscode/command/testCommand.ts:606
↓ 2 callersMethodfindComponentWithPrefix
( prefix: string | undefined, publicOnly: boolean, excludedComponents?: string[] )
packages/poml/file.tsx:1458
↓ 2 callersMethodformat
(self, **kwargs)
python/poml/integration/langchain.py:85
↓ 2 callersFunctionformatComponentDocumentation
( componentSpec: ComponentSpec, baseLevel?: number )
packages/poml-vscode/lsp/documentFormatter.ts:3
↓ 2 callersMethodformatError
(error: any)
packages/poml-vscode/util/telemetryServer.ts:43
↓ 2 callersFunctionformatParameterDocumentation
(param: Parameter)
packages/poml-vscode/lsp/documentFormatter.ts:28
↓ 2 callersMethodformatProperties
(properties: { [key: string]: any })
packages/poml-vscode/util/telemetryServer.ts:25
↓ 2 callersMethodgenerateWriterResult
* Execute the main writing logic and gather mapping, multimedia and speaker * information before it is broken down into smaller segments.
packages/poml/writer.ts:573
↓ 2 callersMethodgetAssociatedOptions
(uri: string)
packages/poml-vscode/lsp/server.ts:116
↓ 2 callersFunctiongetElementsForSourceLine
(targetLine: number)
packages/poml-vscode-webview/scrollSync.ts:42
↓ 2 callersMethodgetForResource
(resource: vscode.Uri)
packages/poml-vscode/settings.ts:27
↓ 2 callersMethodgetKey
( resource: vscode.Uri )
packages/poml-vscode/settings.ts:179
↓ 2 callersMethodgetLanguageModelSettings
(uri: vscode.Uri)
packages/poml-vscode/command/testCommand.ts:601
↓ 2 callersMethodgetLanguageModelSettings
(uri: vscode.Uri)
packages/poml-vscode/panel/panel.ts:431
↓ 2 callersMethodgetNewAbortController
()
packages/poml-vscode/command/testCommand.ts:35
↓ 2 callersFunctiongetOutputChannel
()
packages/poml-vscode/command/testCommand.ts:57
↓ 2 callersMethodgetResourceOptions
(resource: vscode.Uri)
packages/poml-vscode/settings.ts:131
↓ 2 callersMethodgetRoot
($: cheerio.CheerioAPI)
packages/poml/writer.ts:593
↓ 2 callersMethodgetTools
* Gets all tools in the collection. * @returns An array of all tool schemas
packages/poml/util/schema.ts:226
↓ 2 callersFunctiongetVisibleLine
( editor: vscode.TextEditor )
packages/poml-vscode/util/topmostLineMonitor.ts:58
↓ 2 callersFunctionget_trace_id
Extract the trace ID from the trace object. Args: trace: The trace object containing span context Returns: The formatte
python/tests/integration/agentops_utils.py:73
↓ 2 callersFunctionguessStringType
(value: string)
packages/poml/util/index.ts:94
↓ 2 callersMethodhandleFree
(element: cheerio.Cheerio<any>, $: cheerio.CheerioAPI)
packages/poml/writer.ts:1847
↓ 2 callersFunctionhandleNewAttributeKeyForPartialElement
( possibleAttribKeyRangeStartTok, tokenVector, visitor, astNode )
packages/poml/util/xmlContentAssist.js:352
↓ 2 callersMethodhasPrompt
(name: string)
packages/poml-vscode/chat/gallery.ts:87
↓ 2 callersMethodinitializeOptions
(options?: WriterOptions)
packages/poml/writer.ts:82
↓ 2 callersFunctionisCategory
(node: TreeNode)
packages/poml-vscode/chat/gallery.ts:16
↓ 2 callersFunctionisPomlFile
(document: vscode.TextDocument)
packages/poml-vscode/util/file.ts:3
↓ 2 callersFunctionisString
(value: any)
packages/poml-vscode/util/logger.ts:57
↓ 2 callersFunctionisTracing
()
packages/poml/util/trace.ts:59
← previousnext →101–200 of 726, ranked by callers