Closed dekdynamics closed 2 months ago
Please follow these steps to troubleshoot and resolve the issue:
Check Agent's RAG Status:
is_rag_ready
status is true. You can verify this in the agents
table or by checking the agent's status in the App\Models\Agent
model.Verify Document Processing:
AgentFile
model and the documents
relationship in the Agent
model.Review Document Deletion:
delete
method in app/Livewire/Agents/Modals/DocumentDelete.php
.Check RAG Job Processing:
ProcessAgentRag
job is correctly processing the document. Review the handle
method in app/Jobs/ProcessAgentRag.php
.Debugging:
ragRun
method in app/Livewire/Chat.php
to trace the RAG job execution and identify any issues.Livewire Component:
ragRun
and process_nostr
methods in app/Livewire/Chat.php
.If the issue persists, please provide additional logs or error messages for further assistance.
/app/Livewire/Agents/Modals/DocumentDelete.php /app/Livewire/Agents/Modals/Delete.php /app/Livewire/Agents/Partials/Documents.php /app/Livewire/Agents/Create.php /app/Livewire/Agents/Edit.php /app/Livewire/Agents/Index.php /app/Http/Controllers/Api/v1/DocumentsController.php /app/Jobs/ProcessAgentRag.php /app/Models/Agent.php /app/Livewire/Chat.php /database/migrations/2024_04_18_140309_create_agents_table.php /database/seeders/AgentSeeder.php /resources/views/livewire/agents /resources/views/livewire/agents/modals /resources/views/livewire/agents/partials /routes/api/v1.php
This was mostly caused by a deployment issue, but it actually unearthed another bug that we should be able to fix soon.
Looks fixed, please reopen if you encounter it again
Hi - This is a followup to my previous issue that was closed as fixed.
I removed all of the documents from the agent repo except for the lightning whitepaper, and I asked a more direct question:
Its been a few minutes like this.
The first page of the pdf has the answer: