MCPcopy Create free account

hub / github.com/microsoft/poml / functions

Functions726 in github.com/microsoft/poml

MethodiconPath
()
packages/poml-vscode/panel/panel.ts:373
Methodimage
Image (`<img>`) displays an image in the content. Alternatively, it can also be shown as an alt text by specifying the `syntax` prop.
python/poml/_tags.py:1226
MethodinitializeOptions
(options?: MarkdownOptions | undefined)
packages/poml/writer.ts:686
MethodinitializeOptions
(options?: HtmlOptions | undefined)
packages/poml/writer.ts:1335
MethodinitializeOptions
(options?: MarkdownOptions | undefined)
packages/poml/writer.ts:1500
MethodinitializeOptions
(options?: JsonOptions | undefined)
packages/poml/writer.ts:1691
MethodinitializeOptions
(options?: YamlOptions | undefined)
packages/poml/writer.ts:1721
MethodinitializeOptions
(options?: XmlOptions | undefined)
packages/poml/writer.ts:1756
MethodinitializeOptions
(options?: FreeOptions | undefined)
packages/poml/writer.ts:1839
MethodinitializeOptions
(options?: MultiMediaOptions | undefined)
packages/poml/writer.ts:1900
Methodinline
Inline (`<span>`) is a container for inline content. When used with markup syntaxes, it wraps text in an inline style, without any preceding o
python/poml/_tags.py:944
Methodinstance
()
packages/poml/base.tsx:335
Methodinstance
()
packages/poml/base.tsx:422
Methodinstance
()
packages/poml/base.tsx:890
Methodintroducer
Introducer is a paragraph before a long paragraph (usually a list of examples, steps, or instructions). It serves as a context introducing wha
python/poml/_tags.py:258
MethodisChatting
()
packages/poml-vscode/command/testCommand.ts:197
MethodisChatting
()
packages/poml-vscode/command/testCommand.ts:642
Functionis_dataclass_like_type
Returns True if the given type likely used `@pydantic.dataclass`
python/poml/integration/pydantic.py:190
Methoditalic
Italic (`<i>`) emphasizes text in an italic style when using markup syntaxes. Example: ```xml Your <i>italicized</i>
python/poml/_tags.py:1074
Methodlast
()
packages/poml/base.tsx:350
Methodlc_attributes
(self)
python/poml/integration/langchain.py:51
Methodlist
List (`<list>`) is a container for multiple ListItem (`<item>`) elements. When used with markup syntaxes, a bullet or numbering is added.
python/poml/_tags.py:1155
Functionlist_example_files
Test that all example files can be processed without errors.
python/tests/test_examples.py:101
Methodlist_item
ListItem (`<item>`) is an item within a List component. In markup mode, it is rendered with the specified bullet or numbering style.
python/poml/_tags.py:1180
MethodlocalResourcePath
(resourceFile: string)
packages/poml-vscode/panel/panel.ts:442
Functionlog_poml_call
Log the entire poml call to weave.
python/poml/integration/weave.py:7
Functionlog_poml_call
Log the entire poml call to mlflow.
python/poml/integration/mlflow.py:8
Functionlog_poml_call
Log the entire poml call to agentops.
python/poml/integration/agentops.py:7
MethodmakeCell
(cell: string)
packages/poml/writer.ts:1452
MethodmakeRow
(row: string[], isHeader: boolean)
packages/poml/writer.ts:1139
MethodmakeRow
(row: string[])
packages/poml/writer.ts:1461
MethodmakeSeparator
()
packages/poml/writer.ts:1156
Methodmap
(f: (x: T) => R)
packages/poml-vscode/util/logger.ts:48
MethodmarkupLanguage
()
packages/poml/writer.ts:1494
MethodmarkupLanguage
()
packages/poml/writer.ts:1504
Methodmessage_content
Display a message content. Args: content (Optional[Any]): The content of the message. It can be a string, or an array of strings
python/poml/_tags.py:583
Methodmisc
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:200
Methodname
()
packages/poml/base.tsx:650
Methodnewline
Newline (`<br>`) explicitly adds a line break, primarily in markup syntaxes. In serializer syntaxes, it's ignored. Args:
python/poml/_tags.py:993
MethodnormalizeStartEnd
( start: number | undefined, end: number | undefined, length: number )
packages/poml-vscode/lsp/server.ts:588
MethodonDiagnostic
( params: DocumentDiagnosticParams )
packages/poml-vscode/lsp/server.ts:536
Functionon_config
(config)
docs/hooks/commitlinks.py:18
Functionon_page_markdown
(markdown, **kwargs)
docs/hooks/commitlinks.py:24
Methodoutput_format
Output format deals with the format in which the model should provide the output. It can be a specific format such as JSON, XML, or CSV, or a
python/poml/_tags.py:141
MethodparseAttrAsInt
(attrName: string)
packages/poml/writer.ts:160
MethodpomlUri
()
packages/poml-vscode/panel/panel.ts:227
Methodposition
()
packages/poml-vscode/panel/panel.ts:290
MethodpostCommand
(command: string, args: any[])
packages/poml-vscode-webview/util.ts:29
MethodpostMessage
(type: string, body: object)
packages/poml-vscode-webview/util.ts:22
MethodpreviewConfigurations
()
packages/poml-vscode/panel/manager.ts:56
Methodprolog
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:79
Methodprompts
()
packages/poml-vscode/chat/gallery.ts:91
MethodquerySegmentFromMapping
(startIndex: number, endIndex: number)
packages/poml/writer.ts:284
Methodquestion
Question (`<qa>`) is actually a combination of a question and a prompt for the answer. It's usually used at the end of a prompt to ask a quest
python/poml/_tags.py:492
MethodreadTrace
()
packages/poml-vscode/util/logger.ts:87
Methodreference
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:144
Methodrefresh
()
packages/poml-vscode/panel/manager.ts:30
Methodrender
(props: any)
packages/poml/base.tsx:842
MethodrenderListItem
(item: any)
packages/poml/writer.ts:1041
MethodreportTelemetry
(event: string, properties: { [key: string]: any })
packages/poml-vscode/util/telemetryServer.ts:75
MethodreportTelemetry
Do not wait for this. It can take quite long.
packages/poml-vscode/util/telemetryServer.ts:105
MethodreportTelemetryError
(event: string, error: any)
packages/poml-vscode/util/telemetryServer.ts:83
Functionroll
Returns the total as text (MCP 'text' content), e.g., "14".
python/tests/integration/mcp_server.py:68
FunctionscrollToRevealSourceLine
(line: number)
packages/poml-vscode-webview/scrollSync.ts:88
MethodsendTelemetry
(data: any)
packages/poml-vscode/lsp/server.ts:197
MethodserializeLanguage
()
packages/poml/writer.ts:1510
MethodserializeLanguage
()
packages/poml/writer.ts:1687
MethodserializeLanguage
()
packages/poml/writer.ts:1717
MethodserializeLanguage
()
packages/poml/writer.ts:1752
MethodshowProgress
()
packages/poml-vscode/command/testCommand.ts:137
Methodstepwise_instructions
StepwiseInstructions that elaborates the task by providing a list of steps or instructions. Each step should be concise and clear, and the lis
python/poml/_tags.py:180
MethodstreamToString
(stream: NodeJS.ReadableStream)
packages/poml-vscode/command/testCommand.ts:421
Methodstrikethrough
Strikethrough (`<s>`, `<strike>`) indicates removed or invalid text in markup syntaxes. Example: ```xml <s>This mess
python/poml/_tags.py:1091
FunctionstringifyWithBuffers
(obj: any)
packages/poml/tests/trace.test.tsx:7
Methodsub_content
SubContent (`<section>`) renders nested content, often following a header. The headers within the section will be automatically adjusted to a
python/poml/_tags.py:1035
Methodsystem_message
Wrap the contents in a system message. Example: ```xml <system-msg>Answer concisely.</system-msg> ```
python/poml/_tags.py:532
Methodtable
Displaying a table with records and columns. Args: syntax (Optional[str]): The output syntax of the content. Choices: `"markdown"
python/poml/_tags.py:630
Methodtag
(self, tag_name: str, **attrs)
python/poml/prompt.py:210
Functiontest_basic
()
python/tests/test_basic.py:11
Functiontest_dict_format_with_schema_tools_runtime
Test dict format returns full structure with schema, tools, and runtime
python/tests/test_poml_formats.py:145
Functiontest_document
()
python/tests/test_basic.py:39
Functiontest_envvar_autotrace
(tmp_path: Path)
python/tests/test_basic.py:155
Functiontest_example_file
Test that a specific example file can be processed without errors.
python/tests/test_examples.py:109
Functiontest_langchain_with_schema_tools_runtime
Test LangChain format preserves all metadata
python/tests/test_poml_formats.py:241
Functiontest_message_dict_format
Test message_dict format returns just messages array
python/tests/test_poml_formats.py:137
Functiontest_mixed_tool_calls_openai
Test complex tool call scenario in OpenAI format
python/tests/test_poml_formats.py:291
Functiontest_multiprocessing_trace
(tmp_path: Path)
python/tests/test_basic.py:141
Functiontest_openai_chat_with_runtime
Test OpenAI format converts runtime params to snake_case
python/tests/test_poml_formats.py:188
Functiontest_openai_chat_with_schema
Test OpenAI format with JSON schema response format
python/tests/test_poml_formats.py:166
Functiontest_openai_chat_with_tools
Test OpenAI format with tool definitions
python/tests/test_poml_formats.py:205
Functiontest_poml_format_dict
(tmp_path: Path)
python/tests/test_poml_formats.py:27
Functiontest_poml_format_langchain
(tmp_path: Path)
python/tests/test_poml_formats.py:67
Functiontest_poml_format_openai_chat
(tmp_path: Path)
python/tests/test_poml_formats.py:54
Functiontest_poml_format_pydantic
(tmp_path: Path)
python/tests/test_poml_formats.py:39
Functiontest_prompt
()
python/tests/test_basic.py:15
Functiontest_prompt_reuse_appendable
Ensure a Prompt instance can be reused across multiple context blocks.
python/tests/test_basic.py:54
Functiontest_pydantic_format_with_full_frame
Test pydantic format returns PomlFrame with all fields
python/tests/test_poml_formats.py:262
Functiontest_runtime_camel_case_conversion
Test various runtime parameter name conversions
python/tests/test_poml_formats.py:322
Functiontest_tool_call_langchain_conversion
Test tool call conversion to Langchain format
python/tests/test_poml_formats.py:106
Functiontest_tool_call_openai_conversion
Test tool call conversion to OpenAI format
python/tests/test_poml_formats.py:82
← previousnext →601–700 of 726, ranked by callers