https://github.com/asifrahaman13/knowledgebase
The project aims to retrieve meaningful information from different knowledgebase like pdfs, web, docs, etc. Its currently in progress state.
https://github.com/asifrahaman13/knowledgebase
fastapi langchain mongodb nextjs openai python
Last synced: 3 months ago
JSON representation
The project aims to retrieve meaningful information from different knowledgebase like pdfs, web, docs, etc. Its currently in progress state.
- Host: GitHub
- URL: https://github.com/asifrahaman13/knowledgebase
- Owner: asifrahaman13
- Created: 2024-04-01T16:42:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T08:45:58.000Z (about 2 years ago)
- Last Synced: 2026-01-03T14:04:24.960Z (6 months ago)
- Topics: fastapi, langchain, mongodb, nextjs, openai, python
- Language: TypeScript
- Homepage:
- Size: 234 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About the application
First clone the repository:
```bash
git clone https://github.com/asifrahaman13/knowledgebase.git
```
## Backend
Next enter into the backend directory.
```
cd knowledgevase_backend/
```
Create a virtual environment.
```
virtualenv .venv
```
Activate the virtual environment. In unix based system like the Linux or Mac OS you can follow the following commands:
```
source .venv/bin/activate
```
Now install the required dependencies.
```
pip install -r requirements.txt
```
Rename the .env.example file to .env file.
In Unix based system you can use the following:
```bash
mv .env.example .env
```
In windows you can manually do the same.
Next update the required values in the .env file.
You need to enter the data into the .env file.
Now run the backend server.
```
uvicorn main:app --reload
```
Make sure the backend runs on port 8000.
## Frontend
Next enter into the front end.
```
cd knowdledgebase_frontend/
```
Install the dependencies
```
bun install
```
Rename the .env.example file to .env file.
In Unix based system you can use the following:
```bash
mv .env.example .env
```
In windows you can manually do the same.
Next update the required values in the .env file.
Run the development server:
```
bun run dev
```
Front end will run on port 3000