Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diedemiguel/product-description-with-ai
Link to Project
https://github.com/diedemiguel/product-description-with-ai
ai aisdk llm openai streaming vercel
Last synced: 2 days ago
JSON representation
Link to Project
- Host: GitHub
- URL: https://github.com/diedemiguel/product-description-with-ai
- Owner: dieDeMiguel
- Created: 2024-09-21T16:26:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T09:49:37.000Z (about 2 months ago)
- Last Synced: 2024-11-18T10:57:23.153Z (about 2 months ago)
- Topics: ai, aisdk, llm, openai, streaming, vercel
- Language: TypeScript
- Homepage: https://product-description-ai.vercel.app
- Size: 2.41 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://github.com/user-attachments/assets/d23f2874-8922-4c06-b18c-67c00e34c573
# Product Description Genie
## Generate Product Descriptions with AI on a WYSIWYG Text Editor
### Main Features
- **Live feedback through stream**: Content is streamed directly into the UI.
- **Tailored Content Generation**: User can prompt any product and get a description.
- **Multilanguage**: Content will be generated in the prompted language.
- **Automatic Product Tags:** Tags are generated automatically.
- **Image description**: This features allows the user to upload an image and get a photo description### Installation:
- We'll use pnpm
```sh
pnpm install
```- Setup your environment variables
```bash
cp .env.example .env.development.local
```- Then, open the `.env.development.local` file and fill in the required environment variables.
- You'll also need an `OPENAI_API_KEY` to access the OpenAI API.
- You'll need all the `POSTGRES_*` variables from the Vercel dashboard to access the Vercel Postgres API. The Vercel Postgres API is used to store the current backgrounds and their status.
- You'll need a `BLOB_READ_WRITE_TOKEN` from the Vercel dashboard to access the Vercel Blob API. The Vercel Blob API is used to store the uploaded images.
- You can get all the Vercel variables by using the Vercel CLI by running `vercel link`
- Initialize your DB
```
psql "" -f src/db/schema.psql
```- Run the development server
```
pnpm dev
```