0.2.1 • Published 6 months ago

elephant-sdk v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Elephant

Extract metadata from webpage.

TODO

Export type Move examples to ./examples Extract IPFS url if existed

Install

npm install elephant-sdk

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-sdk in project

import {extract} from elephant-sdk

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

6 months ago

0.2.0

6 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago