Skip to content

Conversation

@daiwaid
Copy link
Collaborator

@daiwaid daiwaid commented Jan 19, 2025

  • add assemble support for most transform operations for pandas
  • create a custom Map class for mapping info to be more intuitive to use
  • add parameter for map to toggle reasoning

NOTE: requires code from Libem #111 to function

mappings = llmint.map(source_df, dest_df)
output = assemble(source_df, mappings)
combined_df = pd.concat([dest_df, output], axis=0)
print("Combined:", combined_df, sep="\n")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very neat / nice example for schema alignment for static datasets (known records with fixed size).

Could we have perhaps another example demonstrating this in the message broker setting?

E.g., having a continuous sending data source and the assembled data flow - once "in stalled" to the data path - able to process incoming data.

Copy link
Member

@zenodflow zenodflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change: ensure the assemble method reflects the intended semantics, i.e., generating the dataflow that translates incoming data records. E.g., throw a nested function. In next PRs we should support native/non-python dataflow.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants