0.2.10 • Published 1 year ago

@nomland/elephant v0.2.10

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Elephant

Extract structured data from web pages using the OpenAI API.

Install

npm install @nomland/elephant

Configure environment variables

VariableValue
OPENAI_MODELThe OpenAI model name (gpt-3.5-turbo-16k or gpt-4-1106-preview recommended)
OPENAI_API_KEYYour OpenAI API key

To use an Azure OpenAI endpoint, visit the Typechat documentation.

Usage

Run examples:

npm run start

or use elephant in project

import {extract} from @nomland/elephant

await extract('https://test.com/example-page')

TODO

Move examples to ./examples Extract IPFS url if existed

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago