0.2.1 • Published 2 years ago
elephant-sdk v0.2.1
Elephant
Extract metadata from webpage.
TODO
Export type Move examples to ./examples Extract IPFS url if existed
Install
npm install elephant-sdkConfigure environment variables
| Variable | Value |
|---|---|
| OPENAI_MODEL | The OpenAI model name (gpt-3.5-turbo-16k or gpt-4-1106-preview recommended) |
| OPENAI_API_KEY | Your OpenAI API key |
To use an Azure OpenAI endpoint, visit the Typechat documentation.
Usage
Run examples:
npm run startor use elephant-sdk in project
import {extract} from elephant-sdk
await extract('https://test.com/example-page')