-
Notifications
You must be signed in to change notification settings - Fork 17
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
langchain llamaindex callback handler #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey. Any reason we are commenting this file? Can we remove it if its not used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove the commented lines but we ca't remove the file as a whole. It is because with the presence of init file, the entire directory is considered as a package.
self.response["body"].update({"id": event_id}) | ||
self.response["body"].update({"created": int(time.time())}) | ||
self.response["body"].update({"model": data.raw.get("model", "")}) | ||
self.response["time"] = int(responseTime * 1000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the unit of responseTime here? seconds or ms?
Title: Observability (Logs API)
Description:
Motivation:
For users who just want to portkey for observability
Related Issues:
#126