mvallet91 / JELAI

A Jupyter Environment for Learning Analytics and AI
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Logs as context #13

Closed mvallet91 closed 2 weeks ago

mvallet91 commented 3 weeks ago

Process telemetry logs into readable actions and provide the last actions to the LLM as context, phrased in natural language. For example:

added new cell at index 4, pasted content into cell 4 with content < x = 1 >, edited cell 4 with content < x='1 >, executed cell 4 with input < x='1 > and output SyntaxError: unterminated string literal

Considering that all logs from Pioneer are in the same file, to match the context of the current notebook, the conversation should have the same name as the notebook.

mvallet91 commented 2 weeks ago

Fixed a session_id bug as well #14