Building the useCompletion hook
Course Content
0 / 24 completedDiscovering the OpenAI Completion API
Introduction to AI Product Development
Designing a Hybrid Web Application Architecture with JavaScript and Python
Picking the stack - Navigating JavaScript and Python
Streaming events with Server-Sent Events and WebSockets
Handling Server-Sent Events with JavaScript
Rendering Completion Output
Building the useCompletion hook
Mocking Streams
Testing the useCompletion hook
Exploring asynchronous programming in Python
Creating a FastAPI server
Integrating Langchain with FastAPI for Asynchronous Streaming
Testing with PyTest and LangChain
Building the useChat hook
Discovering Retrieval Augmented Generation
Building a Semantic Search Engine with Chroma
Building the User Interface
Adding Retrieval-Augmented Generation to the chat
Final words
utils
vite.config
setup
vite-env.d