PageSourceSearch

https://vishal0072026-production-rag-agent.hf.space/

html vishal0072026-production-rag-agent.hf.space collected 2026-10-03 17:29:44 UTC 13,003 bytes, 131 lines download raw bytes

1<!doctype html>
2<html
3	lang="en"
4	style="
5		margin: 0;
6		padding: 0;
7		min-height: 100%;
8		display: flex;
9		flex-direction: column;
10	"
11>
12	<head>
13		<meta charset="utf-8" />
14		<meta
15			name="viewport"
16			content="width=device-width, initial-scale=1, shrink-to-fit=no"
17		/>
18		<meta property="og:title" content="Gradio" />
19		<meta property="og:type" content="website" />
20		<meta property="og:url" content="{url}" />
21		<meta property="og:description" content="Click to try out the app!" />
22		<meta
23			property="og:image"
24			content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg"
25		/>
26		<meta name="twitter:card" content="summary_large_image" />
27		<meta name="twitter:creator" content="@Gradio" />
28		<meta name="twitter:title" content="Gradio" />
29		<meta name="twitter:description" content="Click to try out the app!" />
30		<meta
31			name="twitter:image"
32			content="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/lib/assets/img/header-image.jpg"
33		/>
34
35		<style>
36			:root {
37				--bg: white;
38				--col:   #27272a;
39				--bg-dark: #0f0f11;
40				--col-dark: #f4f4f5;
41			}
42
43
44			body {
45				background: var(--bg);
46				color: var(--col);
47				font-family: Arial, Helvetica, sans-serif;
48			}
49
50			@media (prefers-color-scheme: dark) {
51				body {
52					background: var(--bg-dark);
53					color: var(--col-dark);
54				}
55			}
56		</style>
57
58		<meta property="og:url" content="https://gradio.app/" />
59		<meta property="og:type" content="website" />
60		<meta property="og:image" content="" />
61		<meta property="og:title" content="Production RAG Agent" />
62		<meta
63			property="og:description"
64			content=""
65		/>
66		<meta name="twitter:card" content="summary_large_image" />
67		<meta name="twitter:creator" content="@teamGradio" />
68		<meta name="twitter:title" content="Production RAG Agent" />
69		<meta
70			name="twitter:description"
71			content=""
72		/>
73		<meta name="twitter:image" content="" />
74
75		
75<script>window.gradio_config = {"version":"6.0.2","api_prefix":"/gradio_api","mode":"blocks","app_id":4865698498173531096,"dev_mode":false,"vibe_mode":false,"analytics_enabled":true,"components":[{"id":1,"type":"markdown","props":{"value":"# 🔎 Production RAG Agent\n\nProduction-oriented Retrieval-Augmented Generation over a\nsanitized engineering knowledge base.\n\n### Retrieval pipeline\n\n- Dense FAISS retrieval\n- Sparse BM25 retrieval\n- Reciprocal Rank Fusion\n- Cross-encoder reranking\n- Grounded LLM generation","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":2,"type":"row","props":{"variant":"default","visible":true,"equal_height":false,"show_progress":false,"preserved_by_key":[],"name":"row"},"skip_api":true,"component_class_id":"49021b386ed71efa166394ab86bf014ac923ef68a144ae964fb53c051443d4bc","key":null},{"id":3,"type":"textbox","props":{"type":"text","lines":3,"placeholder":"Ask a question about the indexed knowledge base...","label":"Question","show_label":true,"container":true,"min_width":160,"visible":true,"autofocus":false,"autoscroll":true,"elem_classes":[],"preserved_by_key":["value"],"rtl":false,"submit_btn":false,"stop_btn":false,"name":"textbox","_selectable":false},"skip_api":false,"component_class_id":"0fc9c4cad71d1ab8599f7d2f997c7cf3bcabb4ea624a2db880c7fe38ffd613d7","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"Hello!!"},{"id":4,"type":"slider","props":{"minimum":1,"maximum":6,"value":5,"step":1,"label":"Retrieved sources","show_label":true,"container":true,"min_width":160,"visible":true,"elem_classes":[],"preserved_by_key":["value"],"name":"slider","_selectable":false},"skip_api":false,"component_class_id":"390a95edbee85fb6202194179cdf2f8c67c6552ff26c02a3bb3298f6f221fb0c","key":null,"api_info":{"type":"number","description":"numeric value between 1 and 6"},"api_info_as_input":{"type":"number","description":"numeric value between 1 and 6"},"api_info_as_output":{"type":"number","description":"numeric value between 1 and 6"},"example_inputs":1},{"id":5,"type":"form","props":{"scale":2,"min_width":320,"preserved_by_key":[],"name":"form"},"skip_api":true,"component_class_id":"dd7af5e6e18cca61cffa58f46be1f6e8b6709b550143c0ccbf4ccd4949cf0c72","key":null},{"id":6,"type":"button","props":{"value":"Ask","variant":"primary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"9802f23c83089d1c7f880af56b1493552cad2509ae4bf55adfb8ed1e639a4a8d","key":null},{"id":7,"type":"markdown","props":{"label":"Answer","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":8,"type":"markdown","props":{"label":"Retrieved Evidence","show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":9,"type":"markdown","props":{"value":"---\n\n### System\n\nThe system answers using retrieved evidence and is designed\nto avoid unsupported generation.\n\nRetrieved evidence is displayed alongside the answer.","show_label":false,"rtl":false,"latex_delimiters":[{"left"
75:"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"},{"id":10,"type":"button","props":{"value":"Check Runtime","variant":"secondary","size":"lg","visible":true,"interactive":true,"elem_classes":[],"preserved_by_key":["value"],"name":"button","_selectable":false},"skip_api":true,"component_class_id":"9802f23c83089d1c7f880af56b1493552cad2509ae4bf55adfb8ed1e639a4a8d","key":null},{"id":11,"type":"markdown","props":{"show_label":false,"rtl":false,"latex_delimiters":[{"left":"$$","right":"$$","display":true}],"visible":true,"elem_classes":[],"preserved_by_key":["value"],"sanitize_html":true,"line_breaks":false,"header_links":false,"container":false,"padding":false,"name":"markdown","_selectable":false},"skip_api":false,"component_class_id":"9236599f96e98cc6f08e918e06396790804408407abec8b249f89f492424a6e4","key":null,"api_info":{"type":"string"},"api_info_as_input":{"type":"string"},"api_info_as_output":{"type":"string"},"example_inputs":"# Hello!"}],"css":null,"connect_heartbeat":false,"js":null,"head":null,"title":"Production RAG Agent","space_id":"Vishal0072026/production-rag-agent","enable_queue":true,"show_error":false,"footer_links":["api","gradio","settings"],"is_colab":false,"max_file_size":null,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap"],"theme":"default","protocol":"sse_v3","body_css":{"body_background_fill":"white","body_text_color":"#27272a","body_background_fill_dark":"#0f0f11","body_text_color_dark":"#f4f4f5"},"fill_height":false,"fill_width":false,"theme_hash":"2fa39f6df94156f7ef9d84370dbb2657d672827c75f082ac995879c32290c5ca","pwa":true,"pages":[["","Home",true]],"page":{"":{"layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":5,"children":[{"id":3},{"id":4}]}]},{"id":6},{"id":7},{"id":8},{"id":9},{"id":10},{"id":11}]},"components":[1,2,3,4,5,6,7,8,9,10,11],"dependencies":[0,1]}},"mcp_server":false,"i18n_translations":null,"dependencies":[{"id":0,"targets":[[6,"click"]],"inputs":[3,4],"outputs":[7,8],"backend_fn":true,"js":null,"queue":true,"api_name":"answer_question","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","api_visibility":"public","rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"event_specific_args":null,"component_prop_inputs":[],"js_implementation":null},{"id":1,"targets":[[10,"click"]],"inputs":[],"outputs":[11],"backend_fn":true,"js":null,"queue":true,"api_name":"runtime_status","api_description":null,"scroll_to_output":false,"show_progress":"full","show_progress_on":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"generator":false,"cancel":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false,"trigger_only_on_failure":false,"trigger_mode":"once","api_visibility":"public","rendered_in":null,"render_id":null,"connection":"sse","time_limit":null,"stream_every":0.5,"event_specific_args":null,"component_prop_inputs":[],"js_implementation":null}],"layout":{"id":0,"children":[{"id":1},{"id":2,"children":[{"id":5,"children":[{"id":3},{"id":4}]}]},{"id":6},{"id":7},{"id":8},{"id":9},{"id":10},{"id":11}]},"username":null,"deep_link_state":"none","current_page":"","root":"https://vishal0072026-production-rag-agent.hf.space"};</script>
75<script>window.gradio_api_info = {"named_endpoints":{"/answer_question":{"parameters":[{"label":"Question","parameter_name":"question","parameter_has_default":false,"parameter_default":null,"type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Textbox","example_input":"Hello!!"},{"label":"Retrieved sources","parameter_name":"top_k","parameter_has_default":true,"parameter_default":5,"type":{"type":"number","description":"numeric value between 1 and 6"},"python_type":{"type":"float","description":""},"component":"Slider","example_input":1}],"returns":[{"label":"Answer","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"},{"label":"Retrieved Evidence","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"api_visibility":"public","description":"Answer a question using the production RAG pipeline."},"/runtime_status":{"parameters":[],"returns":[{"label":"value_11","type":{"type":"string"},"python_type":{"type":"str","description":""},"component":"Markdown"}],"api_visibility":"public","description":"Return lightweight runtime information."}},"unnamed_endpoints":{}};</script>
75
76
77		<link rel="preconnect" href="https://fonts.googleapis.com" />
78		<link
79			rel="preconnect"
80			href="https://fonts.gstatic.com"
81			crossorigin="anonymous"
82		/>
83		
83<script
84			src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"
85			async
86		></script>
86
87		
87<script data-gradio-mode>
88			window.__gradio_mode__ = "app";
89			window.iFrameResizer = {
90				autoResize: false,
91				sizeWidth: false
92			};
93			window.parent?.postMessage(
94				{ type: "SET_SCROLLING", enabled: false },
95				"*"
96			);
97		</script>
97
98		<link rel="manifest" href="/manifest.json" />
99		
99<script type="module" crossorigin src="./assets/index-BQKUxBLP.js"></script>
99
100		<link rel="stylesheet" crossorigin href="./assets/index-Dp46mFta.css">
101	</head>
102
103	<body
104		style="
105			width: 100%;
106			margin: 0;
107			padding: 0;
108			display: flex;
109			flex-direction: column;
110			flex-grow: 1;
111		"
112	>
113		<gradio-app
114			control_page_title="true"
115			embed="false"
116			eager="true"
117			style="display: flex; flex-direction: column; flex-grow: 1"
118		>
119		</gradio-app>
120		
120<script>
121			const ce = document.getElementsByTagName("gradio-app");
122
123			if (ce[0]) {
124				ce[0].addEventListener("domchange", () => {
125					document.body.style.padding = "0";
126				});
127				document.body.style.padding = "0";
128			}
129		</script>
129
130	</body>
131</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.