Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wallpants/jaison
Convert Audio to meaningful JSON with AI.
https://github.com/wallpants/jaison
ai gpt json remix supabase
Last synced: about 1 month ago
JSON representation
Convert Audio to meaningful JSON with AI.
- Host: GitHub
- URL: https://github.com/wallpants/jaison
- Owner: wallpants
- Created: 2024-05-17T06:27:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T00:21:49.000Z (9 months ago)
- Last Synced: 2024-05-23T00:30:08.582Z (9 months ago)
- Topics: ai, gpt, json, remix, supabase
- Language: TypeScript
- Homepage:
- Size: 4.93 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jaison
Convert Audio to meaningful JSON.
This project is a proof of concept.
## Workflow
1. Define _extractors_, which basically means specifying JSON keys
and prompts to fill those keys with.
2. Upload an audio file and choose an _extractor_.
3. Receive JSON at your webhook of choice. (not implemented)https://github.com/wallpants/jaison/assets/47203170/59fbfe24-71ae-406f-81f7-b84de9451ec9
## Behind the Scenes
Behind the scenes, whenever an audio is uploaded, it's getting sent to the [speech-to-text
service from rev.ai](https://www.rev.ai/).Once we get the transcription back, we generate a prompt that includes the
information the user specified in the _extractor_, the _complete transcript_,
and [_custom instructions_](/app/routes/extractor-jobs.webhook/generate-prompt.ts)
for GPT to generate the response we need in the correct format.Once we get a response from GPT, we run some validations on it, and if validations
fail, we re-submit the prompt for a total of 5 max attempts until we get a valid
response or give up.## [🏗️ Development](/docs/development.md)
## [🚀 Deploy](/docs/deploy.md)
## [⚙️ CI/CD](/docs/ci-cd.md)