Full-stack application combining LlamaIndex vector search with Neo4j knowledge graph (GraphRAG) for answering queries about Netflix marketing materials. Flask/Hypercorn backend with custom ReAct agent, React frontend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
No EOL
1.5 KiB
XML
46 lines
No EOL
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<staticContent>
|
|
<!-- Set correct MIME types -->
|
|
<remove fileExtension=".js" />
|
|
<mimeMap fileExtension=".js" mimeType="application/javascript" />
|
|
|
|
<remove fileExtension=".json" />
|
|
<mimeMap fileExtension=".json" mimeType="application/json" />
|
|
|
|
<remove fileExtension=".css" />
|
|
<mimeMap fileExtension=".css" mimeType="text/css" />
|
|
|
|
<remove fileExtension=".svg" />
|
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
|
|
|
<remove fileExtension=".woff" />
|
|
<mimeMap fileExtension=".woff" mimeType="font/woff" />
|
|
|
|
<remove fileExtension=".woff2" />
|
|
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
|
|
</staticContent>
|
|
|
|
<!-- Enable CORS -->
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
|
|
<!-- URL Rewrite for SPA -->
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="SPA_Fallback" stopProcessing="true">
|
|
<match url=".*" />
|
|
<conditions logicalGrouping="MatchAll">
|
|
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
|
|
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
|
|
</conditions>
|
|
<action type="Rewrite" url="/netflix_chatbot/index.html" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
</system.webServer>
|
|
</configuration> |