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

Make chat logs available for download #8492

Closed
5 tasks done
yusuke-ten opened this issue Sep 16, 2024 · 1 comment
Closed
5 tasks done

Make chat logs available for download #8492

yusuke-ten opened this issue Sep 16, 2024 · 1 comment
Labels
💪 enhancement New feature or request

Comments

@yusuke-ten
Copy link
Contributor

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I would like to be able to download logs on the log and announce screen.
It would also be nice to be able to use the following features

  • Filter function
  • Download in csv and json

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@yusuke-ten yusuke-ten changed the title Download chat log Make chat logs available for download Sep 16, 2024
@dosubot dosubot bot added the 💪 enhancement New feature or request label Sep 16, 2024
@FrancisVarga
Copy link

FrancisVarga commented Sep 17, 2024

You can use this api (found it over inspect and then request):
console/api/apps/1b0856bf-46aa-4ee1-90cc-bf53db65d5f7/chat-conversations?page=1&limit=10&start=2024-09-10%2000%3A00&end=2024-09-17%2023%3A59&sort_by=-created_at&annotation_status=all

In the return the id attribute is the conversation id
You can fetch the conversation via:
console/api/apps/1b0856bf-46aa-4ee1-90cc-bf53db65d5f7/chat-messages?conversation_id=c3d6d8a4-9661-42dc-b441-db68e12a05fe&limit=10

Apps Id:
image

With this u can build and workflow to get the data.

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Oct 18, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2024
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 2, 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
Projects
None yet
Development

No branches or pull requests

2 participants