cuddly-vr-85751
12/09/2025, 3:57 PMtall-airline-16756
12/09/2025, 3:57 PMtall-airline-16756
12/09/2025, 3:57 PMcuddly-vr-85751
12/09/2025, 3:57 PMtall-airline-16756
12/09/2025, 3:58 PMChatContext as messages (e.g., role="system" or role="user"), or send them as part of the initial prompt.
4. Use the agent; it will reference the injected context when answering.
Frontend file upload option
• You can upload files from the client using byte streams and then extract text server-side before adding to the agent context.
Do you want:
• a Python example for extracting PDF text and adding to ChatContext, or
• a Node.js example that uses client byte streams plus extraction?
Tell me which language and whether your files are large (so I can include chunking examples).
Sources: Vision | LiveKit Docs