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

Improved dump for calls and responses, particularly for chaining #260

Open
willbakst opened this issue May 20, 2024 · 1 comment
Open

Improved dump for calls and responses, particularly for chaining #260

willbakst opened this issue May 20, 2024 · 1 comment
Labels
Feature Request New feature or request

Comments

@willbakst
Copy link
Contributor

Description

  • The original implementation of dump only included a few fields, there are many more we should consider.
  • We should look into improving dump for chained prompts so that a single dump will show the entire trace information.
@willbakst willbakst added the Feature Request New feature or request label May 20, 2024
@willbakst
Copy link
Contributor Author

With the new interface, an idea here would be to enable making a computed field any object with a str method (which should already be the case). This would mean you could compute the field as an e.g. OpenAICallResponse and still get it in the dump but properly template it as just the string content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant