Skip to content

fix: handle multiple output parsers in generation - #854

Merged
Pouyanpi merged 1 commit into
developfrom
fix/streaming-openai-chatgpt-prompts
Nov 13, 2024
Merged

fix: handle multiple output parsers in generation#854
Pouyanpi merged 1 commit into
developfrom
fix/streaming-openai-chatgpt-prompts

Conversation

@Pouyanpi

Copy link
Copy Markdown
Collaborator

Updated the condition to check if prompt_config.output_parser is in the list ["verbose_v1", "bot_message"]

Currently this part of code needs to be updated once new output_parsers get registered.

Description

Related Issue(s)

#850

Checklist

  • I've read the CONTRIBUTING guidelines.
  • I've updated the documentation if applicable.
  • I've added tests if applicable.
  • @mentions of the person or team responsible for reviewing proposed changes.

Updated the condition to check if `prompt_config.output_parser` is inthe list `["verbose_v1", "bot_message"]`
@Pouyanpi
Pouyanpi requested a review from cparisien November 13, 2024 15:33
@Pouyanpi
Pouyanpi marked this pull request as ready for review November 13, 2024 15:33
@Pouyanpi Pouyanpi self-assigned this Nov 13, 2024
@Pouyanpi
Pouyanpi merged commit 6b040ba into develop Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants