소스 검색

[chore] pypdf and bs4 by default in package (#1038)

Sidharth Mohanty 1 년 전
부모
커밋
a1394ce32e
2개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 0
      Makefile
  2. 3 5
      pyproject.toml

+ 1 - 0
Makefile

@@ -37,6 +37,7 @@ clean:
 lint:
 	poetry run ruff .
 
+# for example: make test file=tests/test_factory.py
 test:
 	poetry run pytest $(file)
 

+ 3 - 5
pyproject.toml

@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "embedchain"
-version = "0.1.36"
+version = "0.1.37"
 description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
 authors = [
     "Taranjeet Singh <taranjeet@embedchain.ai>",
@@ -99,10 +99,10 @@ openai = ">=1.1.1"
 chromadb = "^0.4.17"
 posthog = "^3.0.2"
 rich = "^13.7.0"
+beautifulsoup4 = "^4.12.2"
+pypdf = "^3.11.0"
 tiktoken = { version = "^0.4.0", optional = true }
 youtube-transcript-api = { version = "^0.6.1", optional = true }
-beautifulsoup4 = { version = "^4.12.2", optional = true }
-pypdf = { version = "^3.11.0", optional = true }
 pytube = { version = "^15.0.0", optional = true }
 duckduckgo-search = { version = "^3.8.5", optional = true }
 llama-hub = { version = "^0.0.43", optional = true }
@@ -179,10 +179,8 @@ cohere = ["cohere"]
 milvus = ["pymilvus"]
 dataloaders=[
     "youtube-transcript-api",
-    "beautifulsoup4",
     "docx2txt",
     "duckduckgo-search",
-    "pypdf",
     "pytube",
     "sentence-transformers",
     "unstructured",