Skip to content

Implement JsonOutputParser mid-stream when processing flashcards! #49

Description

@TanGentleman

This whole thing may be better suited to a chain! I'll have to think about composing it in different ways a bit down the line. For now, I'm comfortable with this architecture, but I think I'll eventually be able to compose everything into a type-conforming ChainClass with a dict of inputs as single parameter.

Either way, I want to play around with constructing a Pydantic Schema, passing it to the JsonOutputParser, and having that work its magic during the flashcard generation. This plays beautifully with the new architecture I have for the control flow for the new flashrag UX, stay tuned!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions