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

Return more information #11

Open
AlmogBaku opened this issue May 18, 2024 · 0 comments
Open

Return more information #11

AlmogBaku opened this issue May 18, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed size/m

Comments

@AlmogBaku
Copy link
Owner

Instead of returning only the “functions called” and “unstreamed response message”, return a comprehensive bag of information as a Response class that contains:

  1. Functions called
  2. Unstreamed reaponse messages
  3. Tool response messages
  4. Output tokens
  5. (optional) input tokens
  6. Latency stats

By making this a class we can also ensure the API won't break again

@AlmogBaku AlmogBaku added enhancement New feature or request help wanted Extra attention is needed size/m labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed size/m
Projects
None yet
Development

No branches or pull requests

1 participant