Replies: 1 comment
-
Hi Iztok, Neuron includes a LogObserver class that you can use to log Agent and RAG internal activity. It gets a PSR logger interface, so it works smoothly with monolog for example. https://github.com/inspector-apm/neuron-ai/blob/main/src/Observability/LogObserver.php $agent = Agent::make()->observer(new LogObserver(...)); Or you can implement your own class to do whetever you want with the internal data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app where I implemented a lot of functionality manually (e.g. RAG). This enabled me to store and display logs and progress in the user interface. This way, if an error occurs, the user can see what went wrong and where.
How would I be able to achieve the same thing in Neuron? Can the observer functionality be used?
Beta Was this translation helpful? Give feedback.
All reactions