0.2.10 • Published 3 days ago

@nomland/elephant v0.2.10

Weekly downloads
-
License
ISC
Repository
github
Last release
3 days 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

3 days ago

0.2.9

4 months ago

0.2.8

5 months ago

0.2.7

5 months ago

0.2.6

5 months ago

0.2.5

5 months ago

0.2.4

6 months ago

0.2.3

6 months ago

0.2.2

6 months ago