Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLM request logging #27

Open
Boscop opened this issue Sep 29, 2024 · 1 comment
Open

LLM request logging #27

Boscop opened this issue Sep 29, 2024 · 1 comment

Comments

@Boscop
Copy link

Boscop commented Sep 29, 2024

It would be nice to be able to log all chat history easily :)

@jeremychone
Copy link
Owner

This is good as well. Few thoughts

  • I will probably add tracing.
  • There was a related ticket about advanced remote tracing or something.
  • I will also likely offer a "hook API" or some MPSC mechanism, to allow registering for those events in some way. This way, the library user can subscribe to the events and implement their desired logic.​

There might be some methods to add to chat-request to format the entire chat in a convenient way. This could be simple and add significant value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants