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

Improve script output format #21

Open
Kostis-S-Z opened this issue Nov 27, 2024 · 0 comments
Open

Improve script output format #21

Kostis-S-Z opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Kostis-S-Z
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The output of the script is a non-valid JSON due to duplicate keys leading to a sub-optimal parsing code here.

Example:

{
  "Speaker 1": "Welcome to our podcast! Today, we're exploring...",
  "Speaker 2": "Hi Laura! I'm excited to hear about this. Can you explain...",
  "Speaker 1": ...
}

Describe the solution you'd like
The output of the script should be a valid JSON. Either like this

[
   {"Speaker 1": "Welcome to our podcast, where we ...."},
   {"Speaker 2": "Hi, I'm excited to be here, so what is ..."},
]

or even like this? with the -1 indicating the round of the speaker.

{
  "Speaker 1-1": "Welcome to our podcast! Today, we're exploring...",
  "Speaker 2-1": "Hi Laura! I'm excited to hear about this. Can you explain...",
  "Speaker 1-2": ...
}

Describe alternatives you've considered
Leave it as it is ¯_(ツ)_/¯

@Kostis-S-Z Kostis-S-Z added the enhancement New feature or request label Nov 27, 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

1 participant