Skip to content

Add LLM information extraction example#1595

Open
Sarthak-commits wants to merge 4 commits into
apache:mainfrom
Sarthak-commits:llm-information-extraction-example
Open

Add LLM information extraction example#1595
Sarthak-commits wants to merge 4 commits into
apache:mainfrom
Sarthak-commits:llm-information-extraction-example

Conversation

@Sarthak-commits
Copy link
Copy Markdown

Closes #241.\n\nAdds a Hamilton LLM workflow example for structured information extraction from customer feedback. The example defines a Pydantic output schema, builds the extraction prompt, calls the OpenAI chat API, parses the JSON response, and validates it before returning serializable records.\n\nThe runner also supports a mocked response so the validation path can be exercised without an API key.

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.

[good first issue - advanced][Example] Create a dataflow modeling information extraction using an LLM

1 participant