Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/poml
/ functions
Functions
726 in github.com/microsoft/poml
⨍
Functions
726
◇
Types & classes
263
↳
Endpoints
1
Method
iconPath
()
packages/poml-vscode/panel/panel.ts:373
Method
image
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
Method
initializeOptions
(options?: MarkdownOptions | undefined)
packages/poml/writer.ts:686
Method
initializeOptions
(options?: HtmlOptions | undefined)
packages/poml/writer.ts:1335
Method
initializeOptions
(options?: MarkdownOptions | undefined)
packages/poml/writer.ts:1500
Method
initializeOptions
(options?: JsonOptions | undefined)
packages/poml/writer.ts:1691
Method
initializeOptions
(options?: YamlOptions | undefined)
packages/poml/writer.ts:1721
Method
initializeOptions
(options?: XmlOptions | undefined)
packages/poml/writer.ts:1756
Method
initializeOptions
(options?: FreeOptions | undefined)
packages/poml/writer.ts:1839
Method
initializeOptions
(options?: MultiMediaOptions | undefined)
packages/poml/writer.ts:1900
Method
inline
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
Method
instance
()
packages/poml/base.tsx:335
Method
instance
()
packages/poml/base.tsx:422
Method
instance
()
packages/poml/base.tsx:890
Method
introducer
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
Method
isChatting
()
packages/poml-vscode/command/testCommand.ts:197
Method
isChatting
()
packages/poml-vscode/command/testCommand.ts:642
Function
is_dataclass_like_type
Returns True if the given type likely used `@pydantic.dataclass`
python/poml/integration/pydantic.py:190
Method
italic
Italic (`<i>`) emphasizes text in an italic style when using markup syntaxes. Example: ```xml Your <i>italicized</i>
python/poml/_tags.py:1074
Method
last
()
packages/poml/base.tsx:350
Method
lc_attributes
(self)
python/poml/integration/langchain.py:51
Method
list
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
Function
list_example_files
Test that all example files can be processed without errors.
python/tests/test_examples.py:101
Method
list_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
Method
localResourcePath
(resourceFile: string)
packages/poml-vscode/panel/panel.ts:442
Function
log_poml_call
Log the entire poml call to weave.
python/poml/integration/weave.py:7
Function
log_poml_call
Log the entire poml call to mlflow.
python/poml/integration/mlflow.py:8
Function
log_poml_call
Log the entire poml call to agentops.
python/poml/integration/agentops.py:7
Method
makeCell
(cell: string)
packages/poml/writer.ts:1452
Method
makeRow
(row: string[], isHeader: boolean)
packages/poml/writer.ts:1139
Method
makeRow
(row: string[])
packages/poml/writer.ts:1461
Method
makeSeparator
()
packages/poml/writer.ts:1156
Method
map
(f: (x: T) => R)
packages/poml-vscode/util/logger.ts:48
Method
markupLanguage
()
packages/poml/writer.ts:1494
Method
markupLanguage
()
packages/poml/writer.ts:1504
Method
message_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
Method
misc
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:200
Method
name
()
packages/poml/base.tsx:650
Method
newline
Newline (`<br>`) explicitly adds a line break, primarily in markup syntaxes. In serializer syntaxes, it's ignored. Args:
python/poml/_tags.py:993
Method
normalizeStartEnd
( start: number | undefined, end: number | undefined, length: number )
packages/poml-vscode/lsp/server.ts:588
Method
onDiagnostic
( params: DocumentDiagnosticParams )
packages/poml-vscode/lsp/server.ts:536
Function
on_config
(config)
docs/hooks/commitlinks.py:18
Function
on_page_markdown
(markdown, **kwargs)
docs/hooks/commitlinks.py:24
Method
output_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
Method
parseAttrAsInt
(attrName: string)
packages/poml/writer.ts:160
Method
pomlUri
()
packages/poml-vscode/panel/panel.ts:227
Method
position
()
packages/poml-vscode/panel/panel.ts:290
Method
postCommand
(command: string, args: any[])
packages/poml-vscode-webview/util.ts:29
Method
postMessage
(type: string, body: object)
packages/poml-vscode-webview/util.ts:22
Method
previewConfigurations
()
packages/poml-vscode/panel/manager.ts:56
Method
prolog
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:79
Method
prompts
()
packages/poml-vscode/chat/gallery.ts:91
Method
querySegmentFromMapping
(startIndex: number, endIndex: number)
packages/poml/writer.ts:284
Method
question
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
Method
readTrace
()
packages/poml-vscode/util/logger.ts:87
Method
reference
(ctx, astNode)
packages/poml/util/xmlContentAssist.js:144
Method
refresh
()
packages/poml-vscode/panel/manager.ts:30
Method
render
(props: any)
packages/poml/base.tsx:842
Method
renderListItem
(item: any)
packages/poml/writer.ts:1041
Method
reportTelemetry
(event: string, properties: { [key: string]: any })
packages/poml-vscode/util/telemetryServer.ts:75
Method
reportTelemetry
Do not wait for this. It can take quite long.
packages/poml-vscode/util/telemetryServer.ts:105
Method
reportTelemetryError
(event: string, error: any)
packages/poml-vscode/util/telemetryServer.ts:83
Function
roll
Returns the total as text (MCP 'text' content), e.g., "14".
python/tests/integration/mcp_server.py:68
Function
scrollToRevealSourceLine
(line: number)
packages/poml-vscode-webview/scrollSync.ts:88
Method
sendTelemetry
(data: any)
packages/poml-vscode/lsp/server.ts:197
Method
serializeLanguage
()
packages/poml/writer.ts:1510
Method
serializeLanguage
()
packages/poml/writer.ts:1687
Method
serializeLanguage
()
packages/poml/writer.ts:1717
Method
serializeLanguage
()
packages/poml/writer.ts:1752
Method
showProgress
()
packages/poml-vscode/command/testCommand.ts:137
Method
stepwise_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
Method
streamToString
(stream: NodeJS.ReadableStream)
packages/poml-vscode/command/testCommand.ts:421
Method
strikethrough
Strikethrough (`<s>`, `<strike>`) indicates removed or invalid text in markup syntaxes. Example: ```xml <s>This mess
python/poml/_tags.py:1091
Function
stringifyWithBuffers
(obj: any)
packages/poml/tests/trace.test.tsx:7
Method
sub_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
Method
system_message
Wrap the contents in a system message. Example: ```xml <system-msg>Answer concisely.</system-msg> ```
python/poml/_tags.py:532
Method
table
Displaying a table with records and columns. Args: syntax (Optional[str]): The output syntax of the content. Choices: `"markdown"
python/poml/_tags.py:630
Method
tag
(self, tag_name: str, **attrs)
python/poml/prompt.py:210
Function
test_basic
()
python/tests/test_basic.py:11
Function
test_dict_format_with_schema_tools_runtime
Test dict format returns full structure with schema, tools, and runtime
python/tests/test_poml_formats.py:145
Function
test_document
()
python/tests/test_basic.py:39
Function
test_envvar_autotrace
(tmp_path: Path)
python/tests/test_basic.py:155
Function
test_example_file
Test that a specific example file can be processed without errors.
python/tests/test_examples.py:109
Function
test_langchain_with_schema_tools_runtime
Test LangChain format preserves all metadata
python/tests/test_poml_formats.py:241
Function
test_message_dict_format
Test message_dict format returns just messages array
python/tests/test_poml_formats.py:137
Function
test_mixed_tool_calls_openai
Test complex tool call scenario in OpenAI format
python/tests/test_poml_formats.py:291
Function
test_multiprocessing_trace
(tmp_path: Path)
python/tests/test_basic.py:141
Function
test_openai_chat_with_runtime
Test OpenAI format converts runtime params to snake_case
python/tests/test_poml_formats.py:188
Function
test_openai_chat_with_schema
Test OpenAI format with JSON schema response format
python/tests/test_poml_formats.py:166
Function
test_openai_chat_with_tools
Test OpenAI format with tool definitions
python/tests/test_poml_formats.py:205
Function
test_poml_format_dict
(tmp_path: Path)
python/tests/test_poml_formats.py:27
Function
test_poml_format_langchain
(tmp_path: Path)
python/tests/test_poml_formats.py:67
Function
test_poml_format_openai_chat
(tmp_path: Path)
python/tests/test_poml_formats.py:54
Function
test_poml_format_pydantic
(tmp_path: Path)
python/tests/test_poml_formats.py:39
Function
test_prompt
()
python/tests/test_basic.py:15
Function
test_prompt_reuse_appendable
Ensure a Prompt instance can be reused across multiple context blocks.
python/tests/test_basic.py:54
Function
test_pydantic_format_with_full_frame
Test pydantic format returns PomlFrame with all fields
python/tests/test_poml_formats.py:262
Function
test_runtime_camel_case_conversion
Test various runtime parameter name conversions
python/tests/test_poml_formats.py:322
Function
test_tool_call_langchain_conversion
Test tool call conversion to Langchain format
python/tests/test_poml_formats.py:106
Function
test_tool_call_openai_conversion
Test tool call conversion to OpenAI format
python/tests/test_poml_formats.py:82
← previous
next →
601–700 of 726, ranked by callers