Skip to content

Commit

Permalink
Merge branch 'lancedb:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavdixit99 authored Feb 7, 2024
2 parents a3b54ab + 6d368a9 commit 8856a6e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ These are ready to use applications built using LanceDB serverless vector databa
| [ Talk with Podcast ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/talk-with-podcast) | Talk with Youtube Podcast using Ollama and insanely-fast-whisper | ![demo](./assets/talk-with-podcast.png)|
| [ Talk with Wikipedia ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/talk-with-wikipedia) | Talk with Wikipedia Pages | ![demo](./assets/talk-with-wikipedia.png)|
| [ Document Chat with Langroid ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/docchat-with-langroid) | Talk with your Documents using Langroid | ![demo](./assets/document-chat-langroid.png)|
| [ Fastapi RAG template ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/Fastapi_websocket_chatboat) | Fatapi based RAG template with websocket support | ![image](https://github.com/akashAD98/vectordb-recipes/assets/62583018/0a72fd53-54d5-4c86-84e1-34707c7110ef)|
| [ Fastapi RAG template ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/Chatbot_RAG_with_FASTAPI) | FastAPI based RAG template with Websocket support | ![image](./assets/chatbot_fastapi.png)|
| [ GTE MLX RAG ](https://github.com/lancedb/vectordb-recipes/tree/main/applications/GTE_mlx_RAG/CLI_example.ipynb) | mlx based RAG model using lancedb api support | ![image](./assets/apple_mlx.png)|


Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

## chatbot api using using FastAPI and WebSocket.
## Chatbot API using FastAPI and WebSocket
It is designed to provide users with quick and accurate responses to their queries through a convenient interface accessible via Swagger FastAPI.

## Features
FastAPI Backend: Utilizes FastAPI for handling backend logic and API responses.

WebSocket Integration: Offers real-time communication between the client and server.

Swagger UI: Easy testing and interaction with the chatbot through the FastAPI's built-in Swagger UI.


Expand All @@ -24,9 +26,10 @@ The --reload flag enables auto-reload so the server will restart upon file chang

## Usage

##### 1.Once the server is running, navigate to http://localhost:8000/docs to interact with the chatbot using Swagger UI.
##### 2.Upload the pdf
##### 3.Ask the quetions based on your pdf
![image](https://github.com/akashAD98/vectordb-recipes/assets/62583018/0dc29b74-a534-4ebc-8ac1-eea8e877f325)
1. Once the server is running, navigate to http://localhost:8000/docs to interact with the chatbot using Swagger UI.
2. Upload the pdf
3. Ask the quetions based on your pdf

![image](../../assets/chatbot_fastapi.png)


Binary file added assets/chatbot_fastapi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8856a6e

Please sign in to comment.