Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extract table from image example #118

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

lovincyrus
Copy link
Contributor

Related to #8

Added image extracting tables

Extracted Table: {
  title: "Chinook Harvest Trends in Georgia Basin and Puget Sound",
  caption: "The chart depicts the decline in the number of Chinook caught in Georgia Basin and Puget Sound from 1984 to 2010, illustrating the impact of management actions to aid in Chinook recovery.",
  table: {
    headers: [ "Year", "Georgia Basin Harvest", "Puget Sound Harvest" ],
    rows: [
      {
        Year: "1984",
        "Georgia Basin Harvest": "Data Not Available",
        "Puget Sound Harvest": "800,000+",
      }, {
        Year: "1986",
        "Georgia Basin Harvest": "400,000+",
        "Puget Sound Harvest": "700,000+",
      }, {
        Year: "1988",
        "Georgia Basin Harvest": "Data Not Available",
        "Puget Sound Harvest": "600,000+",
      }, {
        Year: "1990",
        "Georgia Basin Harvest": "300,000+",
        "Puget Sound Harvest": "500,000+",
      }, {
        Year: "1992",
        "Georgia Basin Harvest": "200,000+",
        "Puget Sound Harvest": "400,000+",
      }, {
        Year: "1994",
        "Georgia Basin Harvest": "200,000+",
        "Puget Sound Harvest": "350,000+",
      }, {
        Year: "1996",
        "Georgia Basin Harvest": "150,000+",
        "Puget Sound Harvest": "300,000+",
      }, {
        Year: "1998",
        "Georgia Basin Harvest": "150,000+",
        "Puget Sound Harvest": "250,000+",
      }, {
        Year: "2000",
        "Georgia Basin Harvest": "100,000+",
        "Puget Sound Harvest": "200,000+",
      }, {
        Year: "2002",
        "Georgia Basin Harvest": "100,000+",
        "Puget Sound Harvest": "150,000+",
      }, {
        Year: "2004",
        "Georgia Basin Harvest": "Less than 100,000",
        "Puget Sound Harvest": "100,000+",
      }, {
        Year: "2006",
        "Georgia Basin Harvest": "Less than 100,000",
        "Puget Sound Harvest": "Less than 100,000",
      }, {
        Year: "2008",
        "Georgia Basin Harvest": "Less than 100,000",
        "Puget Sound Harvest": "Less than 100,000",
      }, {
        Year: "2010",
        "Georgia Basin Harvest": "Less than 100,000",
        "Puget Sound Harvest": "Less than 100,000",
      }
    ],
  },
}

Copy link

changeset-bot bot commented Feb 14, 2024

⚠️ No Changeset found

Latest commit: 896d45d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@lovincyrus lovincyrus mentioned this pull request Feb 14, 2024
15 tasks
@lovincyrus lovincyrus changed the title Add extract table from image Add extract table from image example Feb 14, 2024
examples/extract-table-from-image/index.ts Outdated Show resolved Hide resolved
examples/extract-table-from-image/index.ts Outdated Show resolved Hide resolved
examples/extract-table-from-image/index.ts Outdated Show resolved Hide resolved
@roodboi roodboi merged commit 96414a8 into instructor-ai:main Feb 19, 2024
1 of 2 checks passed
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