You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the href of the option, you can use a string or an object with a `base` and `query` property.
68
+
69
+
<Expandabletitle="Href object">
70
+
<ResponseFieldname="base"type="string"required>
71
+
the base of the option
72
+
</ResponseField>
73
+
74
+
<ResponseFieldname="query"type="object"required>
75
+
the query of the option
76
+
77
+
<Expandabletitle="Query object">
78
+
<ResponseFieldname="key"type="string"required>
79
+
the key of the query
80
+
</ResponseField>
81
+
82
+
<ResponseFieldname="value"type="string"required>
83
+
the value of the query. Use `$page` to insert the current page content in markdown or `$path` to insert the current page path.
84
+
</ResponseField>
85
+
</Expandable>
86
+
</ResponseField>
87
+
</Expandable>
88
+
</ResponseField>
89
+
90
+
Example:
91
+
92
+
```json {7-20} Example with Perplexity icon="search"
93
+
"contextual": {
94
+
"options": [
95
+
"copy",
96
+
"view",
97
+
"chatgpt",
98
+
"claude",
99
+
{
100
+
"title": "Ask Perplexity",
101
+
"description": "Ask Perplexity about the current page",
102
+
"icon": "search",
103
+
"href": {
104
+
"base": "https://www.perplexity.ai/search",
105
+
"query": [
106
+
{
107
+
"key": "q",
108
+
"value": "Ask question about https://mintlify.com/docs$path.md"
109
+
}
110
+
]
111
+
}
112
+
}
113
+
]
114
+
}
115
+
```
116
+
117
+
</Expandable>
118
+
119
+
50
120
## /llms.txt
51
121
52
122
The [/llms.txt file](https://llmstxt.org) is an industry standard that helps general-purpose LLMs index more efficiently, similar to how a sitemap helps search engines.
0 commit comments