Comments (2)
`# "azure" | "openai" | llama2
OPENAI_API_TYPE=openai
OPENAI_API_MODEL=gpt-3.5-turbo
OPENAI_API_TEMPERATURE=1
If using azure
AZURE_OPENAI_API_BASE=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_API_VERSION=2023-03-15-preview
AZURE_OPENAI_EMBEDDING_MODEL_NAME=
AZURE_OPENAI_DEPLOYMENT_NAME=
AZURE_OPENAI_COMPLETION_MODEL=gpt-35-turbo
For openai
OPENAI_API_KEY=
"azure" | "openai" | llama2
EMBEDDING_PROVIDER=openai
Vector Store, PINECONE|QDRANT
STORE=QDRANT
if using pinecone
PINECONE_API_KEY=
PINECONE_ENV=
VECTOR_STORE_INDEX_NAME=
if using qdrant
QDRANT_URL=http://qdrant:6333
optional, defaults to 15
MAX_PAGES_CRAWL=15
--- these will change if you decide to start testing the software
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
DATABASE_NAME=openchat
DATABASE_USER=dbuser
DATABASE_PASSWORD=dbpass
DATABASE_HOST=mysql
DATABASE_PORT=3306
retrieval_qa | conversation_retrieval, retrieval_qa works better with azure openai
Add Allowed Hosts here, no quote, just IP or domain, separated by a comma
ALLOWED_HOSTS=localhost,0.0.0.0
APP_URL=http://0.0.0.0:8000
use 'external' if you want to use below services.
PDF_LIBRARY = 'internal'
#PDF API - OCRWebService.com (REST API). https://www.ocrwebservice.com/api/restguide
#Extract text from scanned images and PDF documents and convert into editable formats.
#Please create new account with ocrwebservice.com via http://www.ocrwebservice.com/account/signup and get license code
OCR_LICCODE = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX'
OCR_USERNAME = 'username'
OCR_LANGUAGE = 'english'
Advantage to clean up the OCR text which can be messy and full with garbage, but will generate a cost with LLM if is paid. Use carefully.
Use 1 to enable, 0 to disable.
OCR_LLM = 0
Replace in Chat JS and Search JS english language strings with these (use your own language)
LNG_BOT='Bot is Thinking...'
LNG_ERROR='Error sending the message.'
LNG_WRITE='Ask a question...'
LNG_ASK='Write a reply...'`
from openchat.
We will check why was deleted, happens, probabbly when it was renamed from example.env.docker
from openchat.
Related Issues (20)
- Web app
- Pricing page is down HOT 1
- Make install fails HOT 3
- How to handle multiple requests
- Failed to index websites HOT 5
- Requesting for ChatBubble code
- Embedded Chat Bubble HOT 2
- [PHP] exec /usr/local/bin/docker-entrypoint.sh: exec format error HOT 1
- dj backend csfr error HOT 11
- Slow reply on my local than on demo version
- latest django &mysql HOT 9
- Does not work on Vercel or Render. HOT 1
- Error localhost when host on machine HOT 5
- please delete HOT 1
- django backend Problem HOT 7
- django backend latest release HOT 15
- Adding new Data Source (PDF) and can't download. It shows 404 HOT 1
- Webapp Searchbox HOT 26
- mysql image not running after install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openchat.