Git Product home page Git Product logo

chat-with-pdf's Introduction

preview demo video

img.png img_1.png

Step 1 Cloud resources

1.1 create ecs with security group 8501 open

img_2.png img_3.png

need to create/ select if you have vpc setup

img_4.png

create security group

img_5.png img_6.png img_7.png img_8.png img_9.png img_10.png

1.2 create adbpg with fastann enabled

img_11.png img_12.png=

this will take a around 10-15 mins,

get the public access endpoint:

img_14.png img_15.png

create admin account

img_16.png eg: username: aigcpostgres ,password: alibabacloud666 img_17.png

create a database with name: aigcpostgres

img_18.png img_19.png For more information about DMS, please refer to here.

add whitelist ip to 0.0.0.0/0

img_20.png img_21.png

Step 2 env init

img_22.png

apt update && apt install git -y && apt install unzip -y && apt install docker-compose -y && apt install postgresql -y img_23.png

Step 3 install packages

git clone https://github.com/daviddhc20120601/chat-with-pdf.git && cd chat-with-pdf/ img_24.png

Step 4 run the docker

cp .devops/Dockerfile . && docker build . -t haidonggpt/front:1.0 && docker run -d -p 8501:8501 haidonggpt/front:1.0 img_25.png

Step 5 insert you token and start using

img_26.png

5.1 chatgpt token:

steps

5.2 adbpg host name:gp-gs5inp2dl746742muo-master.gpdbmaster.singapore.rds.aliyuncs.com

img_27.png

5.3 port: 5432

img_28.png

5.4 database name: aigcpostgres

img_29.png

5.5 adb pg username: aigcpostgres

5.6 adb pg password: alibabacloud666

step 6 my token and credentials are invalidated and revoked,they are just a demo purpose to show you what are they look like. Do not try to use it , it is a waste of time

chat-with-pdf's People

Contributors

daviddhc20120601 avatar clovisphere avatar pandaxfly avatar

Stargazers

Rafael Mahesa avatar Michael Natanael avatar Ario Tua Purba avatar Scott avatar Lin avatar Ray Jin avatar  avatar Weijia Chen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.