langchain-chatbot
AI Chatbot for analyzing/extracting information from data in conversational format.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.8%) to scientific vocabulary
Keywords
Repository
AI Chatbot for analyzing/extracting information from data in conversational format.
Basic Info
Statistics
- Stars: 436
- Watchers: 9
- Forks: 94
- Open Issues: 42
- Releases: 3
Topics
Metadata Files
README.md
Efficiently use Langchain for Complex Tasks
🚀 Installation
User-Setup
Join the Discord server for help
Dev-Setup
Prerequisites: - Git - Free - Pinecone Database - Free - OpenAI API Key - Billing Required
Setup
git clone https://github.com/Haste171/langchain-chatbot.git
Reference example.env to create .env file
python
OPENAI_API_KEY=
PINECONE_API_KEY=
PINECONE_ENV=
PINECONE_INDEX=
Install Requirements
python
poetry install
Activate Environment
python
poetry shell
Run Startup
python
python3 startup.py
🔧 Key Features
✅ Interactive Ingestion UI for files
✅ Chat UI with source, temperature, vector_k, and other parameter changing abilities
✅ More features coming very soon
Soon: - Compatibility with many more files types - Compatibility with offline models (HuggingFace, Vicuna, Alpaca)
💻 Contributing
If you would like to contribute to the LangChain Chatbot, please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Write tests for your changes
- Implement your changes and ensure that all tests pass
- Submit a pull request
📝 Credits
The LangChain Chatbot was developed by Haste171 with much inspiration from Mayo with the GPT4 & LangChain Chatbot for large PDF docs. This project is mainly a port to Python from the Mayo chatbot.
🔨 License
The LangChain Chatbot is released under the MIT License.
Owner
- Name: David
- Login: Haste171
- Kind: user
- Location: United States
- Website: https://davidpeterson.me
- Repositories: 28
- Profile: https://github.com/Haste171
Software Engineer
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Chase" given-names: "Harrison" title: "LangChain" date-released: 2022-10-17 url: "https://github.com/hwchase17/langchain"
GitHub Events
Total
- Watch event: 30
- Push event: 2
- Fork event: 3
Last Year
- Watch event: 30
- Push event: 2
- Fork event: 3
Dependencies
- python 3.9-slim build
- Django ==4.0.3
- GitPython ==3.1.31
- Jinja2 ==3.1.2
- MarkupSafe ==2.1.2
- Pillow ==9.5.0
- PyJWT ==2.3.0
- PyMuPDF ==1.21.1
- PyPDF2 ==3.0.1
- PyYAML ==6.0
- Pygments ==2.15.1
- Pympler ==1.0.1
- SQLAlchemy ==1.4.47
- aiohttp ==3.8.4
- aiosignal ==1.3.1
- altair ==4.2.2
- anyio ==3.6.2
- asgiref ==3.5.0
- async-timeout ==4.0.2
- attrs ==22.2.0
- backoff ==2.2.1
- blinker ==1.6.2
- boto3 ==1.26.111
- botocore ==1.29.111
- cachetools ==5.3.0
- certifi ==2022.12.7
- charset-normalizer ==3.1.0
- chromadb ==0.3.21
- click ==8.1.3
- clickhouse-connect ==0.5.20
- colorama ==0.4.6
- dataclasses-json ==0.5.7
- decorator ==5.1.1
- django-cors-headers ==3.11.0
- django-dotenv ==1.4.2
- django-ninja ==0.21.0
- djangorestframework ==3.13.1
- djangorestframework-simplejwt ==5.1.0
- dnspython ==2.3.0
- duckdb ==0.7.1
- entrypoints ==0.4
- fastapi ==0.95.1
- filelock ==3.12.0
- frozenlist ==1.3.3
- fsspec ==2023.4.0
- gitdb ==4.0.10
- gpt-index ==0.5.12
- greenlet ==2.0.2
- gunicorn ==20.1.0
- h11 ==0.14.0
- hnswlib ==0.7.0
- httptools ==0.5.0
- huggingface-hub ==0.14.1
- idna ==3.4
- importlib-metadata ==6.6.0
- jmespath ==1.0.1
- joblib ==1.2.0
- jsonschema ==4.17.3
- langchain ==0.0.137
- llama-index ==0.5.12
- loguru ==0.7.0
- lz4 ==4.3.2
- markdown-it-py ==2.2.0
- marshmallow ==3.19.0
- marshmallow-enum ==1.5.1
- mdurl ==0.1.2
- monotonic ==1.6
- mpmath ==1.3.0
- multidict ==6.0.4
- mypy-extensions ==1.0.0
- networkx ==3.1
- nltk ==3.8.1
- numpy ==1.24.2
- openai ==0.27.4
- openapi-schema-pydantic ==1.2.4
- packaging ==23.0
- pandas ==1.5.3
- pinecone-client ==2.2.1
- posthog ==3.0.1
- protobuf ==3.20.3
- psycopg2-binary ==2.9.6
- pyarrow ==11.0.0
- pydantic ==1.10.7
- pydeck ==0.8.1b0
- pymongo ==4.3.3
- pyrsistent ==0.19.3
- python-dateutil ==2.8.2
- python-dotenv ==1.0.0
- pytz ==2021.3
- pytz-deprecation-shim ==0.1.0.post0
- regex ==2023.3.23
- requests ==2.28.2
- rich ==13.3.5
- s3transfer ==0.6.0
- scikit-learn ==1.2.2
- scipy ==1.10.1
- sentence-transformers ==2.2.2
- sentencepiece ==0.1.98
- sentry-sdk ==1.19.1
- six ==1.16.0
- smmap ==5.0.0
- sniffio ==1.3.0
- sqlparse ==0.4.2
- starlette ==0.26.1
- streamlit ==1.22.0
- sympy ==1.11.1
- tenacity ==8.2.2
- threadpoolctl ==3.1.0
- tiktoken ==0.3.3
- tokenizers ==0.13.3
- toml ==0.10.2
- toolz ==0.12.0
- torch ==2.0.0
- torchvision ==0.15.1
- tornado ==6.3.1
- tqdm ==4.65.0
- transformers ==4.28.1
- typing-inspect ==0.8.0
- typing_extensions ==4.5.0
- tzdata ==2021.5
- tzlocal ==4.3
- urllib3 ==1.26.15
- uvicorn ==0.21.1
- validators ==0.20.0
- watchdog ==3.0.0
- watchfiles ==0.19.0
- websockets ==11.0.2
- win32-setctime ==1.1.0
- yarl ==1.8.2
- zipp ==3.15.0
- zstandard ==0.21.0
- aiohttp ==3.8.4
- bs4 ==0.0.1
- discord-py-interactions ==4.3.4
- langchain ==0.0.188
- openai ==0.27.7
- pinecone-client ==2.2.1
- pymongo ==4.3.3
- python-dotenv ==1.0.0
- tiktoken ==0.4.0