Skip to content

Using OpenAI to do Speech To Text (STT), Python, and LangChain to send messages to the OpenAI API to provide a English reading like assistant to a SvelteKit front end that accesses the user's microphone and submits the reading to a Python based API.

Notifications You must be signed in to change notification settings

cbuckley-code/reading-with-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Reading with OpenAI

The project is set up into two mini projects the server and client. The server folder holds all the python APIs and the client folder has the SvelteKit UI that interfaces with it.

Server

To get it running update the .env file in the server directory with you OpenAI key then run the following command.

uvicorn app:app --reload

Client

The client app is a SvelteKit app (and a real simple one at that). To get it fired up make sure the server is running ;) then type.

' npm run dev -- --open'

Hope you enjoy it!

I do want to thank Jason Zhou his YouTube videos sparked my interest and his code sample here https://github.com/JayZeeDesign are great references!

About

Using OpenAI to do Speech To Text (STT), Python, and LangChain to send messages to the OpenAI API to provide a English reading like assistant to a SvelteKit front end that accesses the user's microphone and submits the reading to a Python based API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published