0.2.1 • Published 2 years ago

elephant-sdk v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.2.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago