Skip to content

xingcici/llama-doc-ai

Repository files navigation

llama-doc-ai

base openai llama_index, support markdown.

env prepare

export OPENAI_API_KEY = xx

pyenv is recommended !

1. python version >= 3.9

2. python -m pip install -r requirements.txt --index http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

if need refresh index

# proxychains for proxy

proxychains nohup python build_index.py &

notice : after refresh index need restart server

run sever

# if you don't need proxy, skip this -------
1. yum install -y proxychains-ng

2. vim /etc/proxychains.conf

3. proxychains nohup python main.py &
# skip end                           -------

4. python main.py

binding port 8082 🚀

About

doc ai base llama

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published