mirror of
https://github.com/run-llama/voice-chat-pdf.git
synced 2026-06-30 22:27:54 -04:00
remove unused stuff
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user