remove unused stuff

This commit is contained in:
Marcus Schiesser
2024-10-04 16:24:02 +07:00
parent 9940f1be6e
commit ff39ac8dfb
2 changed files with 2 additions and 37 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
This is a [LlamaIndex](https://www.llamaindex.ai/) project using [Next.js](https://nextjs.org/)
# Talk with PDFs
# Voice Chat with PDFs
This is a an example based on the [openai/openai-realtime-console](https://github.com/openai/openai-realtime-console),
extending it with a simple RAG system using [LlamaIndexTS](https://ts.llamaindex.ai).
+1 -36
View File
@@ -568,8 +568,7 @@ export function ConsolePage() {
<div data-component="ConsolePage">
<div className="content-top">
<div className="content-title">
<img src="/openai-logomark.svg" />
<span>realtime console</span>
<span>LlamaIndex - Voice Chat with PDFs</span>
</div>
<div className="content-api-key">
{!LOCAL_RELAY_SERVER_URL && (
@@ -752,40 +751,6 @@ export function ConsolePage() {
/>
</div>
</div>
<div className="content-right">
<div className="content-block map">
<div className="content-block-title">get_weather()</div>
<div className="content-block-title bottom">
{marker?.location || 'not yet retrieved'}
{!!marker?.temperature && (
<>
<br />
🌡 {marker.temperature.value} {marker.temperature.units}
</>
)}
{!!marker?.wind_speed && (
<>
{' '}
🍃 {marker.wind_speed.value} {marker.wind_speed.units}
</>
)}
</div>
<div className="content-block-body full">
{coords && (
<Map
center={[coords.lat, coords.lng]}
location={coords.location}
/>
)}
</div>
</div>
<div className="content-block kv">
<div className="content-block-title">set_memory()</div>
<div className="content-block-body content-kv">
{JSON.stringify(memoryKv, null, 2)}
</div>
</div>
</div>
</div>
</div>
);