Skip to content

build gpt-index using chatgpt and sentence-transformers

License

Notifications You must be signed in to change notification settings

milkymap/pdf2gpt-index

Repository files navigation

pdf2gpt-index

build gpt-index using chatgpt and sentence-transformers

installation

    python -m venv env 
    source env/bin/activate
    pip install --upgrade pip
    pip install -r requirements.txt

usage

    export OPENAI_API_KEY=sk-
    export TRANSFORMERS_CACHE=/path/to/cache
    export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
    python main.py \ 
        build-index --path2pdf_file ressources/code_de_la_famille_senegal.pdf --model_name 'Sahajtomar/french_semantic'\ 
        explore-index --top_k 7

About

build gpt-index using chatgpt and sentence-transformers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages