mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
docs: add documentation links to nodes & tools (#184)
* docs: add documentation links to nodes & tools * fix: add type hints to constants --------- Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
parent
5114ca5ee7
commit
5698338215
11 changed files with 64 additions and 6 deletions
17
ui/src/constants/documentation.ts
Normal file
17
ui/src/constants/documentation.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
const DOCS_BASE = "https://docs.dograh.com";
|
||||
|
||||
export const NODE_DOCUMENTATION_URLS: Record<string, string> = {
|
||||
startCall: `${DOCS_BASE}/voice-agent/start-call`,
|
||||
endCall: `${DOCS_BASE}/voice-agent/end-call`,
|
||||
agent: `${DOCS_BASE}/voice-agent/agent`,
|
||||
global: `${DOCS_BASE}/voice-agent/global`,
|
||||
apiTrigger: `${DOCS_BASE}/voice-agent/api-trigger`,
|
||||
webhook: `${DOCS_BASE}/voice-agent/webhook`,
|
||||
qaAnalysis: `${DOCS_BASE}/getting-started`,
|
||||
};
|
||||
|
||||
export const TOOL_DOCUMENTATION_URLS: Record<string, string> = {
|
||||
http_api: `${DOCS_BASE}/voice-agent/tools/http-api`,
|
||||
end_call: `${DOCS_BASE}/voice-agent/tools/end-call`,
|
||||
transfer_call: `${DOCS_BASE}/voice-agent/tools/call-transfer`,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue