Luke31 commited on
Commit
d1a5979
·
1 Parent(s): 060a68f

use langsmith and update langchain

Browse files
Files changed (3) hide show
  1. .env.sample +4 -0
  2. poetry.lock +73 -30
  3. pyproject.toml +1 -1
.env.sample CHANGED
@@ -1 +1,5 @@
1
  OPENAI_API_KEY=YOUR_KEY
 
 
 
 
 
1
  OPENAI_API_KEY=YOUR_KEY
2
+ LANGCHAIN_TRACING_V2=true
3
+ LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
4
+ LANGCHAIN_API_KEY="YOUR_LANGSMITH_KEY"
5
+ LANGCHAIN_PROJECT="YOUR_LANGSMITH_PROJECT"
poetry.lock CHANGED
@@ -144,6 +144,26 @@ toolz = "*"
144
  dev = ["black (<24)", "hatch", "ipython", "m2r", "mypy", "pandas-stubs", "pytest", "pytest-cov", "ruff", "types-jsonschema", "types-setuptools", "vega-datasets", "vl-convert-python"]
145
  doc = ["docutils", "geopandas", "jinja2", "myst-parser", "numpydoc", "pillow", "pydata-sphinx-theme", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinxext-altair"]
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  [[package]]
148
  name = "async-timeout"
149
  version = "4.0.2"
@@ -733,6 +753,31 @@ MarkupSafe = ">=2.0"
733
  [package.extras]
734
  i18n = ["Babel (>=2.7)"]
735
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
736
  [[package]]
737
  name = "jsonschema"
738
  version = "4.19.0"
@@ -847,55 +892,56 @@ files = [
847
 
848
  [[package]]
849
  name = "langchain"
850
- version = "0.0.258"
851
  description = "Building applications with LLMs through composability"
852
  optional = false
853
  python-versions = ">=3.8.1,<4.0"
854
  files = [
855
- {file = "langchain-0.0.258-py3-none-any.whl", hash = "sha256:a18ed9dc5055845375ac9f57aa598964cdf44dc3fb8751deac9a1fffbf236d19"},
856
- {file = "langchain-0.0.258.tar.gz", hash = "sha256:2ec967ca90b607eba16d29051f526d441487ab5d52a573125cc93a59ce16806c"},
857
  ]
858
 
859
  [package.dependencies]
860
  aiohttp = ">=3.8.3,<4.0.0"
861
- dataclasses-json = ">=0.5.7,<0.6.0"
862
- langsmith = ">=0.0.11,<0.1.0"
 
 
863
  numexpr = ">=2.8.4,<3.0.0"
864
  numpy = ">=1,<2"
865
- openapi-schema-pydantic = ">=1.2,<2.0"
866
- pydantic = ">=1,<2"
867
  PyYAML = ">=5.3"
868
  requests = ">=2,<3"
869
  SQLAlchemy = ">=1.4,<3"
870
  tenacity = ">=8.1.0,<9.0.0"
871
 
872
  [package.extras]
873
- all = ["O365 (>=2.0.26,<3.0.0)", "aleph-alpha-client (>=2.15.0,<3.0.0)", "amadeus (>=8.1.0)", "anthropic (>=0.3,<0.4)", "arxiv (>=1.4,<2.0)", "atlassian-python-api (>=3.36.0,<4.0.0)", "awadb (>=0.3.9,<0.4.0)", "azure-ai-formrecognizer (>=3.2.1,<4.0.0)", "azure-ai-vision (>=0.11.1b1,<0.12.0)", "azure-cognitiveservices-speech (>=1.28.0,<2.0.0)", "azure-cosmos (>=4.4.0b1,<5.0.0)", "azure-identity (>=1.12.0,<2.0.0)", "beautifulsoup4 (>=4,<5)", "clarifai (>=9.1.0)", "clickhouse-connect (>=0.5.14,<0.6.0)", "cohere (>=4,<5)", "deeplake (>=3.6.8,<4.0.0)", "docarray[hnswlib] (>=0.32.0,<0.33.0)", "duckduckgo-search (>=3.8.3,<4.0.0)", "elasticsearch (>=8,<9)", "esprima (>=4.0.1,<5.0.0)", "faiss-cpu (>=1,<2)", "google-api-python-client (==2.70.0)", "google-auth (>=2.18.1,<3.0.0)", "google-search-results (>=2,<3)", "gptcache (>=0.1.7)", "html2text (>=2020.1.16,<2021.0.0)", "huggingface_hub (>=0,<1)", "jina (>=3.14,<4.0)", "jinja2 (>=3,<4)", "jq (>=1.4.1,<2.0.0)", "lancedb (>=0.1,<0.2)", "langkit (>=0.0.6,<0.1.0)", "lark (>=1.1.5,<2.0.0)", "libdeeplake (>=0.0.60,<0.0.61)", "librosa (>=0.10.0.post2,<0.11.0)", "lxml (>=4.9.2,<5.0.0)", "manifest-ml (>=0.0.1,<0.0.2)", "marqo (>=0.11.0,<0.12.0)", "momento (>=1.5.0,<2.0.0)", "nebula3-python (>=3.4.0,<4.0.0)", "neo4j (>=5.8.1,<6.0.0)", "networkx (>=2.6.3,<3.0.0)", "nlpcloud (>=1,<2)", "nltk (>=3,<4)", "nomic (>=1.0.43,<2.0.0)", "octoai-sdk (>=0.1.1,<0.2.0)", "openai (>=0,<1)", "openlm (>=0.0.5,<0.0.6)", "opensearch-py (>=2.0.0,<3.0.0)", "pdfminer-six (>=20221105,<20221106)", "pexpect (>=4.8.0,<5.0.0)", "pgvector (>=0.1.6,<0.2.0)", "pinecone-client (>=2,<3)", "pinecone-text (>=0.4.2,<0.5.0)", "psycopg2-binary (>=2.9.5,<3.0.0)", "pymongo (>=4.3.3,<5.0.0)", "pyowm (>=3.3.0,<4.0.0)", "pypdf (>=3.4.0,<4.0.0)", "pytesseract (>=0.3.10,<0.4.0)", "python-arango (>=7.5.9,<8.0.0)", "pyvespa (>=0.33.0,<0.34.0)", "qdrant-client (>=1.3.1,<2.0.0)", "rdflib (>=6.3.2,<7.0.0)", "redis (>=4,<5)", "requests-toolbelt (>=1.0.0,<2.0.0)", "sentence-transformers (>=2,<3)", "singlestoredb (>=0.7.1,<0.8.0)", "spacy (>=3,<4)", "steamship (>=2.16.9,<3.0.0)", "tensorflow-text (>=2.11.0,<3.0.0)", "tigrisdb (>=1.0.0b6,<2.0.0)", "tiktoken (>=0.3.2,<0.4.0)", "torch (>=1,<3)", "transformers (>=4,<5)", "weaviate-client (>=3,<4)", "wikipedia (>=1,<2)", "wolframalpha (==5.0.0)", "xinference (>=0.0.6,<0.0.7)"]
874
- azure = ["azure-ai-formrecognizer (>=3.2.1,<4.0.0)", "azure-ai-vision (>=0.11.1b1,<0.12.0)", "azure-cognitiveservices-speech (>=1.28.0,<2.0.0)", "azure-core (>=1.26.4,<2.0.0)", "azure-cosmos (>=4.4.0b1,<5.0.0)", "azure-identity (>=1.12.0,<2.0.0)", "azure-search-documents (==11.4.0b6)", "openai (>=0,<1)"]
875
  clarifai = ["clarifai (>=9.1.0)"]
876
  cohere = ["cohere (>=4,<5)"]
877
  docarray = ["docarray[hnswlib] (>=0.32.0,<0.33.0)"]
878
  embeddings = ["sentence-transformers (>=2,<3)"]
879
- extended-testing = ["amazon-textract-caller (<2)", "atlassian-python-api (>=3.36.0,<4.0.0)", "beautifulsoup4 (>=4,<5)", "bibtexparser (>=1.4.0,<2.0.0)", "cassio (>=0.0.7,<0.0.8)", "chardet (>=5.1.0,<6.0.0)", "esprima (>=4.0.1,<5.0.0)", "feedparser (>=6.0.10,<7.0.0)", "geopandas (>=0.13.1,<0.14.0)", "gitpython (>=3.1.32,<4.0.0)", "gql (>=3.4.1,<4.0.0)", "html2text (>=2020.1.16,<2021.0.0)", "jinja2 (>=3,<4)", "jq (>=1.4.1,<2.0.0)", "lxml (>=4.9.2,<5.0.0)", "mwparserfromhell (>=0.6.4,<0.7.0)", "mwxml (>=0.3.3,<0.4.0)", "newspaper3k (>=0.2.8,<0.3.0)", "openai (>=0,<1)", "pandas (>=2.0.1,<3.0.0)", "pdfminer-six (>=20221105,<20221106)", "pgvector (>=0.1.6,<0.2.0)", "psychicapi (>=0.8.0,<0.9.0)", "py-trello (>=0.19.0,<0.20.0)", "pymupdf (>=1.22.3,<2.0.0)", "pypdf (>=3.4.0,<4.0.0)", "pypdfium2 (>=4.10.0,<5.0.0)", "pyspark (>=3.4.0,<4.0.0)", "rank-bm25 (>=0.2.2,<0.3.0)", "rapidfuzz (>=3.1.1,<4.0.0)", "requests-toolbelt (>=1.0.0,<2.0.0)", "scikit-learn (>=1.2.2,<2.0.0)", "streamlit (>=1.18.0,<2.0.0)", "sympy (>=1.12,<2.0)", "telethon (>=1.28.5,<2.0.0)", "tqdm (>=4.48.0)", "xata (>=1.0.0a7,<2.0.0)", "xinference (>=0.0.6,<0.0.7)", "xmltodict (>=0.13.0,<0.14.0)", "zep-python (>=0.32)"]
880
  javascript = ["esprima (>=4.0.1,<5.0.0)"]
881
- llms = ["anthropic (>=0.3,<0.4)", "clarifai (>=9.1.0)", "cohere (>=4,<5)", "huggingface_hub (>=0,<1)", "manifest-ml (>=0.0.1,<0.0.2)", "nlpcloud (>=1,<2)", "openai (>=0,<1)", "openllm (>=0.1.19)", "openlm (>=0.0.5,<0.0.6)", "torch (>=1,<3)", "transformers (>=4,<5)", "xinference (>=0.0.6,<0.0.7)"]
882
  openai = ["openai (>=0,<1)", "tiktoken (>=0.3.2,<0.4.0)"]
883
  qdrant = ["qdrant-client (>=1.3.1,<2.0.0)"]
884
  text-helpers = ["chardet (>=5.1.0,<6.0.0)"]
885
 
886
  [[package]]
887
  name = "langsmith"
888
- version = "0.0.20"
889
  description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
890
  optional = false
891
  python-versions = ">=3.8.1,<4.0"
892
  files = [
893
- {file = "langsmith-0.0.20-py3-none-any.whl", hash = "sha256:c393a45f6da79c7dfbeb778eebce660020d1c26ec9579fe997c8455a6765e4b4"},
894
- {file = "langsmith-0.0.20.tar.gz", hash = "sha256:825056a6ee4583e3dd473e7f47ef45e85841517d84162fbb164771aae4aa391d"},
895
  ]
896
 
897
  [package.dependencies]
898
- pydantic = ">=1,<2"
899
  requests = ">=2,<3"
900
 
901
  [[package]]
@@ -1296,20 +1342,6 @@ dev = ["black (>=21.6b0,<22.0)", "pytest (==6.*)", "pytest-asyncio", "pytest-moc
1296
  embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
1297
  wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
1298
 
1299
- [[package]]
1300
- name = "openapi-schema-pydantic"
1301
- version = "1.2.4"
1302
- description = "OpenAPI (v3) specification schema as pydantic class"
1303
- optional = false
1304
- python-versions = ">=3.6.1"
1305
- files = [
1306
- {file = "openapi-schema-pydantic-1.2.4.tar.gz", hash = "sha256:3e22cf58b74a69f752cc7e5f1537f6e44164282db2700cbbcd3bb99ddd065196"},
1307
- {file = "openapi_schema_pydantic-1.2.4-py3-none-any.whl", hash = "sha256:a932ecc5dcbb308950282088956e94dea069c9823c84e507d64f6b622222098c"},
1308
- ]
1309
-
1310
- [package.dependencies]
1311
- pydantic = ">=1.8.2"
1312
-
1313
  [[package]]
1314
  name = "packaging"
1315
  version = "23.1"
@@ -1966,6 +1998,17 @@ files = [
1966
  {file = "smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"},
1967
  ]
1968
 
 
 
 
 
 
 
 
 
 
 
 
1969
  [[package]]
1970
  name = "sqlalchemy"
1971
  version = "2.0.19"
@@ -2406,4 +2449,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
2406
  [metadata]
2407
  lock-version = "2.0"
2408
  python-versions = "^3.11"
2409
- content-hash = "f3b99dc66141bd5f0c964f6468547366f3f607c26f402af1b1803633a0b98bd9"
 
144
  dev = ["black (<24)", "hatch", "ipython", "m2r", "mypy", "pandas-stubs", "pytest", "pytest-cov", "ruff", "types-jsonschema", "types-setuptools", "vega-datasets", "vl-convert-python"]
145
  doc = ["docutils", "geopandas", "jinja2", "myst-parser", "numpydoc", "pillow", "pydata-sphinx-theme", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinxext-altair"]
146
 
147
+ [[package]]
148
+ name = "anyio"
149
+ version = "3.7.1"
150
+ description = "High level compatibility layer for multiple asynchronous event loop implementations"
151
+ optional = false
152
+ python-versions = ">=3.7"
153
+ files = [
154
+ {file = "anyio-3.7.1-py3-none-any.whl", hash = "sha256:91dee416e570e92c64041bd18b900d1d6fa78dff7048769ce5ac5ddad004fbb5"},
155
+ {file = "anyio-3.7.1.tar.gz", hash = "sha256:44a3c9aba0f5defa43261a8b3efb97891f2bd7d804e0e1f56419befa1adfc780"},
156
+ ]
157
+
158
+ [package.dependencies]
159
+ idna = ">=2.8"
160
+ sniffio = ">=1.1"
161
+
162
+ [package.extras]
163
+ doc = ["Sphinx", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme (>=1.2.2)", "sphinxcontrib-jquery"]
164
+ test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"]
165
+ trio = ["trio (<0.22)"]
166
+
167
  [[package]]
168
  name = "async-timeout"
169
  version = "4.0.2"
 
753
  [package.extras]
754
  i18n = ["Babel (>=2.7)"]
755
 
756
+ [[package]]
757
+ name = "jsonpatch"
758
+ version = "1.33"
759
+ description = "Apply JSON-Patches (RFC 6902)"
760
+ optional = false
761
+ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*"
762
+ files = [
763
+ {file = "jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade"},
764
+ {file = "jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c"},
765
+ ]
766
+
767
+ [package.dependencies]
768
+ jsonpointer = ">=1.9"
769
+
770
+ [[package]]
771
+ name = "jsonpointer"
772
+ version = "2.4"
773
+ description = "Identify specific nodes in a JSON document (RFC 6901)"
774
+ optional = false
775
+ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*"
776
+ files = [
777
+ {file = "jsonpointer-2.4-py2.py3-none-any.whl", hash = "sha256:15d51bba20eea3165644553647711d150376234112651b4f1811022aecad7d7a"},
778
+ {file = "jsonpointer-2.4.tar.gz", hash = "sha256:585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"},
779
+ ]
780
+
781
  [[package]]
782
  name = "jsonschema"
783
  version = "4.19.0"
 
892
 
893
  [[package]]
894
  name = "langchain"
895
+ version = "0.0.301"
896
  description = "Building applications with LLMs through composability"
897
  optional = false
898
  python-versions = ">=3.8.1,<4.0"
899
  files = [
900
+ {file = "langchain-0.0.301-py3-none-any.whl", hash = "sha256:979b8af02ac9c5e04d34acb07d99ae6b36d84de381570efd35a797566b57dacb"},
901
+ {file = "langchain-0.0.301.tar.gz", hash = "sha256:06da8eed444f70232c73ddeaefcff176b4e28a6925a7568a98866aea9602048a"},
902
  ]
903
 
904
  [package.dependencies]
905
  aiohttp = ">=3.8.3,<4.0.0"
906
+ anyio = "<4.0"
907
+ dataclasses-json = ">=0.5.7,<0.7"
908
+ jsonpatch = ">=1.33,<2.0"
909
+ langsmith = ">=0.0.38,<0.1.0"
910
  numexpr = ">=2.8.4,<3.0.0"
911
  numpy = ">=1,<2"
912
+ pydantic = ">=1,<3"
 
913
  PyYAML = ">=5.3"
914
  requests = ">=2,<3"
915
  SQLAlchemy = ">=1.4,<3"
916
  tenacity = ">=8.1.0,<9.0.0"
917
 
918
  [package.extras]
919
+ all = ["O365 (>=2.0.26,<3.0.0)", "aleph-alpha-client (>=2.15.0,<3.0.0)", "amadeus (>=8.1.0)", "arxiv (>=1.4,<2.0)", "atlassian-python-api (>=3.36.0,<4.0.0)", "awadb (>=0.3.9,<0.4.0)", "azure-ai-formrecognizer (>=3.2.1,<4.0.0)", "azure-ai-vision (>=0.11.1b1,<0.12.0)", "azure-cognitiveservices-speech (>=1.28.0,<2.0.0)", "azure-cosmos (>=4.4.0b1,<5.0.0)", "azure-identity (>=1.12.0,<2.0.0)", "beautifulsoup4 (>=4,<5)", "clarifai (>=9.1.0)", "clickhouse-connect (>=0.5.14,<0.6.0)", "cohere (>=4,<5)", "deeplake (>=3.6.8,<4.0.0)", "docarray[hnswlib] (>=0.32.0,<0.33.0)", "duckduckgo-search (>=3.8.3,<4.0.0)", "elasticsearch (>=8,<9)", "esprima (>=4.0.1,<5.0.0)", "faiss-cpu (>=1,<2)", "google-api-python-client (==2.70.0)", "google-auth (>=2.18.1,<3.0.0)", "google-search-results (>=2,<3)", "gptcache (>=0.1.7)", "html2text (>=2020.1.16,<2021.0.0)", "huggingface_hub (>=0,<1)", "jinja2 (>=3,<4)", "jq (>=1.4.1,<2.0.0)", "lancedb (>=0.1,<0.2)", "langkit (>=0.0.6,<0.1.0)", "lark (>=1.1.5,<2.0.0)", "libdeeplake (>=0.0.60,<0.0.61)", "librosa (>=0.10.0.post2,<0.11.0)", "lxml (>=4.9.2,<5.0.0)", "manifest-ml (>=0.0.1,<0.0.2)", "marqo (>=1.2.4,<2.0.0)", "momento (>=1.5.0,<2.0.0)", "nebula3-python (>=3.4.0,<4.0.0)", "neo4j (>=5.8.1,<6.0.0)", "networkx (>=2.6.3,<3.0.0)", "nlpcloud (>=1,<2)", "nltk (>=3,<4)", "nomic (>=1.0.43,<2.0.0)", "openai (>=0,<1)", "openlm (>=0.0.5,<0.0.6)", "opensearch-py (>=2.0.0,<3.0.0)", "pdfminer-six (>=20221105,<20221106)", "pexpect (>=4.8.0,<5.0.0)", "pgvector (>=0.1.6,<0.2.0)", "pinecone-client (>=2,<3)", "pinecone-text (>=0.4.2,<0.5.0)", "psycopg2-binary (>=2.9.5,<3.0.0)", "pymongo (>=4.3.3,<5.0.0)", "pyowm (>=3.3.0,<4.0.0)", "pypdf (>=3.4.0,<4.0.0)", "pytesseract (>=0.3.10,<0.4.0)", "python-arango (>=7.5.9,<8.0.0)", "pyvespa (>=0.33.0,<0.34.0)", "qdrant-client (>=1.3.1,<2.0.0)", "rdflib (>=6.3.2,<7.0.0)", "redis (>=4,<5)", "requests-toolbelt (>=1.0.0,<2.0.0)", "sentence-transformers (>=2,<3)", "singlestoredb (>=0.7.1,<0.8.0)", "tensorflow-text (>=2.11.0,<3.0.0)", "tigrisdb (>=1.0.0b6,<2.0.0)", "tiktoken (>=0.3.2,<0.4.0)", "torch (>=1,<3)", "transformers (>=4,<5)", "weaviate-client (>=3,<4)", "wikipedia (>=1,<2)", "wolframalpha (==5.0.0)"]
920
+ azure = ["azure-ai-formrecognizer (>=3.2.1,<4.0.0)", "azure-ai-vision (>=0.11.1b1,<0.12.0)", "azure-cognitiveservices-speech (>=1.28.0,<2.0.0)", "azure-core (>=1.26.4,<2.0.0)", "azure-cosmos (>=4.4.0b1,<5.0.0)", "azure-identity (>=1.12.0,<2.0.0)", "azure-search-documents (==11.4.0b8)", "openai (>=0,<1)"]
921
  clarifai = ["clarifai (>=9.1.0)"]
922
  cohere = ["cohere (>=4,<5)"]
923
  docarray = ["docarray[hnswlib] (>=0.32.0,<0.33.0)"]
924
  embeddings = ["sentence-transformers (>=2,<3)"]
925
+ extended-testing = ["amazon-textract-caller (<2)", "assemblyai (>=0.17.0,<0.18.0)", "atlassian-python-api (>=3.36.0,<4.0.0)", "beautifulsoup4 (>=4,<5)", "bibtexparser (>=1.4.0,<2.0.0)", "cassio (>=0.1.0,<0.2.0)", "chardet (>=5.1.0,<6.0.0)", "dashvector (>=1.0.1,<2.0.0)", "esprima (>=4.0.1,<5.0.0)", "faiss-cpu (>=1,<2)", "feedparser (>=6.0.10,<7.0.0)", "geopandas (>=0.13.1,<0.14.0)", "gitpython (>=3.1.32,<4.0.0)", "gql (>=3.4.1,<4.0.0)", "html2text (>=2020.1.16,<2021.0.0)", "jinja2 (>=3,<4)", "jq (>=1.4.1,<2.0.0)", "lxml (>=4.9.2,<5.0.0)", "markdownify (>=0.11.6,<0.12.0)", "mwparserfromhell (>=0.6.4,<0.7.0)", "mwxml (>=0.3.3,<0.4.0)", "newspaper3k (>=0.2.8,<0.3.0)", "openai (>=0,<1)", "openapi-schema-pydantic (>=1.2,<2.0)", "pandas (>=2.0.1,<3.0.0)", "pdfminer-six (>=20221105,<20221106)", "pgvector (>=0.1.6,<0.2.0)", "psychicapi (>=0.8.0,<0.9.0)", "py-trello (>=0.19.0,<0.20.0)", "pymupdf (>=1.22.3,<2.0.0)", "pypdf (>=3.4.0,<4.0.0)", "pypdfium2 (>=4.10.0,<5.0.0)", "pyspark (>=3.4.0,<4.0.0)", "rank-bm25 (>=0.2.2,<0.3.0)", "rapidfuzz (>=3.1.1,<4.0.0)", "requests-toolbelt (>=1.0.0,<2.0.0)", "scikit-learn (>=1.2.2,<2.0.0)", "sqlite-vss (>=0.1.2,<0.2.0)", "streamlit (>=1.18.0,<2.0.0)", "sympy (>=1.12,<2.0)", "telethon (>=1.28.5,<2.0.0)", "timescale-vector (>=0.0.1,<0.0.2)", "tqdm (>=4.48.0)", "xata (>=1.0.0a7,<2.0.0)", "xmltodict (>=0.13.0,<0.14.0)"]
926
  javascript = ["esprima (>=4.0.1,<5.0.0)"]
927
+ llms = ["clarifai (>=9.1.0)", "cohere (>=4,<5)", "huggingface_hub (>=0,<1)", "manifest-ml (>=0.0.1,<0.0.2)", "nlpcloud (>=1,<2)", "openai (>=0,<1)", "openlm (>=0.0.5,<0.0.6)", "torch (>=1,<3)", "transformers (>=4,<5)"]
928
  openai = ["openai (>=0,<1)", "tiktoken (>=0.3.2,<0.4.0)"]
929
  qdrant = ["qdrant-client (>=1.3.1,<2.0.0)"]
930
  text-helpers = ["chardet (>=5.1.0,<6.0.0)"]
931
 
932
  [[package]]
933
  name = "langsmith"
934
+ version = "0.0.40"
935
  description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
936
  optional = false
937
  python-versions = ">=3.8.1,<4.0"
938
  files = [
939
+ {file = "langsmith-0.0.40-py3-none-any.whl", hash = "sha256:3a10c580caeef0fd0d779df1449ab765a702075fe2b28dbe8b6c8c9e75abf1d3"},
940
+ {file = "langsmith-0.0.40.tar.gz", hash = "sha256:a377385fd07ebe11ed0b08392cc0b8cf6ec99c11487bcfb15323c7c9e5986991"},
941
  ]
942
 
943
  [package.dependencies]
944
+ pydantic = ">=1,<3"
945
  requests = ">=2,<3"
946
 
947
  [[package]]
 
1342
  embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
1343
  wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
1344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1345
  [[package]]
1346
  name = "packaging"
1347
  version = "23.1"
 
1998
  {file = "smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"},
1999
  ]
2000
 
2001
+ [[package]]
2002
+ name = "sniffio"
2003
+ version = "1.3.0"
2004
+ description = "Sniff out which async library your code is running under"
2005
+ optional = false
2006
+ python-versions = ">=3.7"
2007
+ files = [
2008
+ {file = "sniffio-1.3.0-py3-none-any.whl", hash = "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"},
2009
+ {file = "sniffio-1.3.0.tar.gz", hash = "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101"},
2010
+ ]
2011
+
2012
  [[package]]
2013
  name = "sqlalchemy"
2014
  version = "2.0.19"
 
2449
  [metadata]
2450
  lock-version = "2.0"
2451
  python-versions = "^3.11"
2452
+ content-hash = "7e7aacd2b8e96406f925132354f6c7664403055629f8bb55e7575186efe8012f"
pyproject.toml CHANGED
@@ -7,7 +7,7 @@ readme = "README.md"
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.11"
10
- langchain = "^0.0.258"
11
  streamlit = "^1.25.0"
12
  pandas = "^2.0.3"
13
  python-dotenv = "^1.0.0"
 
7
 
8
  [tool.poetry.dependencies]
9
  python = "^3.11"
10
+ langchain = "0.0.301"
11
  streamlit = "^1.25.0"
12
  pandas = "^2.0.3"
13
  python-dotenv = "^1.0.0"