{"id":359615,"url":"https://github.com/HaseebUlHassan437/structured-output-using-LangChain","last_synced_at":"2026-05-14T06:30:30.602Z","repository":{"id":284588253,"uuid":"954429472","full_name":"HaseebUlHassan437/structured-output-using-LangChain","owner":"HaseebUlHassan437","description":"Demonstrates enforcing structured outputs from LLMs using LangChain (Google Gemini \u0026 HuggingFace) with Pydantic, TypedDict, and JSON Schema. Includes standalone examples for data validation and schema‑driven text generation. Quickly run each script to see how to produce reliably formatted AI responses.","archived":false,"fork":false,"pushed_at":"2025-03-26T16:35:26.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-07T11:48:32.735Z","etag":null,"topics":["json-schema","langchain","llm","pydantic","structured-outputs","typeddict"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HaseebUlHassan437.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-25T04:21:30.000Z","updated_at":"2025-03-26T16:41:22.000Z","dependencies_parsed_at":"2025-03-26T17:27:29.948Z","dependency_job_id":"d20a982d-e8f8-4663-a88e-12d24418da81","html_url":"https://github.com/HaseebUlHassan437/structured-output-using-LangChain","commit_stats":null,"previous_names":["haseebulhassan437/structured-output-using-langchain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HaseebUlHassan437/structured-output-using-LangChain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaseebUlHassan437","download_url":"https://codeload.github.com/HaseebUlHassan437/structured-output-using-LangChain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32806702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"HaseebUlHassan437","name":"Haseeb Ul hassan","uuid":"160396893","kind":"user","description":"Computer Scientist","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/160396893?u=0c869a28e8afb81d8b44b7c460cbcd07a7984df4\u0026v=4","repositories_count":1,"last_synced_at":"2024-08-18T16:57:26.759Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/HaseebUlHassan437","funding_links":[],"total_stars":0,"followers":0,"following":0,"created_at":"2024-08-18T16:57:27.560Z","updated_at":"2024-08-18T16:57:27.560Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaseebUlHassan437","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaseebUlHassan437/repositories"},"packages":[],"commits":{"id":9351458,"full_name":"HaseebUlHassan437/structured-output-using-LangChain","default_branch":"main","total_commits":5,"total_committers":1,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":5.0,"dds":0.0,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-05-05T02:07:12.007Z","last_synced_commit":"379da178a47cebdc1343caa1b69ebdb1b3fe2c01","created_at":"2025-03-27T05:18:33.945Z","updated_at":"2026-05-05T02:07:11.994Z","committers":[{"name":"Haseeb Ul hassan","email":"160396893+HaseebUlHassan437","login":"HaseebUlHassan437","count":5}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-07T00:00:08.754Z","repositories_count":6229874,"commits_count":897148572,"contributors_count":34911324,"owners_count":1149942,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues":{"table":{"full_name":"HaseebUlHassan437/structured-output-using-LangChain","html_url":"https://github.com/HaseebUlHassan437/structured-output-using-LangChain","last_synced_at":"2026-04-24T21:03:23.148Z","status":"error","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2025-03-27T05:18:34.171Z","updated_at":"2026-04-24T21:03:23.148Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaseebUlHassan437%2Fstructured-output-using-LangChain/issues","issue_labels_count":{"table":{}},"pull_request_labels_count":{"table":{}},"issue_author_associations_count":{"table":{}},"pull_request_author_associations_count":{"table":{}},"issue_authors":{"table":{}},"pull_request_authors":{"table":{}},"host":{"table":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-04T00:00:36.985Z","repositories_count":14494467,"issues_count":34232285,"pull_requests_count":112200508,"authors_count":11254133,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"}},"past_year_issue_labels_count":{"table":{}},"past_year_pull_request_labels_count":{"table":{}},"past_year_issue_author_associations_count":{"table":{}},"past_year_pull_request_author_associations_count":{"table":{}},"past_year_issue_authors":{"table":{}},"past_year_pull_request_authors":{"table":{}},"maintainers":[],"active_maintainers":[]}},"events":{"total":{"PushEvent":3,"CreateEvent":2},"last_year":{}},"keywords":["json-schema","langchain","llm","pydantic","structured-outputs","typeddict"],"dependencies":[],"score":null,"created_at":"2025-04-22T12:52:17.468Z","updated_at":"2026-05-14T06:30:30.603Z","avatar_url":"https://github.com/HaseebUlHassan437.png","language":"Python","codemeta":null,"publiccode":null,"project_url":"https://summary.ecosyste.ms/api/v1/projects/359615","html_url":"https://summary.ecosyste.ms/projects/359615"}