ziya 0.1.38__py3-none-any.whl → 0.1.39__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ziya might be problematic. Click here for more details.

app/agents/agent.py CHANGED
@@ -8,7 +8,7 @@ from langchain.agents.format_scratchpad import format_xml
8
8
  from langchain_aws import ChatBedrock
9
9
  from langchain_community.document_loaders import TextLoader
10
10
  from langchain_core.messages import AIMessage, HumanMessage
11
- from langchain_core.pydantic_v1 import BaseModel, Field
11
+ from pydantic import BaseModel, Field
12
12
 
13
13
  from app.agents.prompts import conversational_prompt, parse_output
14
14
  from app.utils.logging_utils import logger
@@ -29,10 +29,10 @@ if aws_profile:
29
29
  else:
30
30
  logger.info("No AWS profile specified via --aws-profile flag, using default credentials")
31
31
  model_id = {
32
- "sonnet3.5": "anthropic.claude-3-5-sonnet-20240620-v1:0",
33
- "sonnet": "anthropic.claude-3-sonnet-20240229-v1:0",
34
- "haiku": "anthropic.claude-3-haiku-20240307-v1:0",
35
- "opus": "anthropic.claude-3-opus-20240229-v1:0",
32
+ "sonnet3.5": "us.anthropic.claude-3-5-sonnet-20240620-v1:0",
33
+ "opus": "us.anthropic.claude-3-opus-20240229-v1:0",
34
+ "sonnet": "us.anthropic.claude-3-sonnet-20240229-v1:0",
35
+ "haiku": "us.anthropic.claude-3-haiku-20240307-v1:0",
36
36
  }[os.environ.get("ZIYA_AWS_MODEL", "sonnet3.5")]
37
37
  logger.info(f"Using Claude Model: {model_id}")
38
38
 
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ziya"
3
- version = "0.1.38"
3
+ version = "0.1.39"
4
4
  description = ""
5
5
  authors = ["Vishnu Krishnaprasad <vishnukool@gmail.com>"]
6
6
  readme = "README.md"
@@ -12,16 +12,16 @@ packages = [
12
12
  [tool.poetry.dependencies]
13
13
  python = ">=3.9,<4.0"
14
14
  uvicorn = "^0.23.2"
15
- pydantic = "<2"
15
+ pydantic = "^2.9.2"
16
16
  jinja2 = "^3.1.3"
17
- tiktoken = "^0.6.0"
17
+ tiktoken = "^0.8.0"
18
18
  boto3 = "^1.34.88"
19
- langchain-aws = "^0.1.0"
20
- langchain = "^0.1"
19
+ langchain-aws = ">=0.2,<0.3"
20
+ langchain = ">=0.3,<0.4"
21
21
  langchainhub = ">=0.1.15"
22
- langchain-anthropic = "^0.1.4"
22
+ langchain-anthropic = ">=0.2,<0.3"
23
23
  langchain-cli = ">=0.0.15"
24
- pydevd-pycharm = "^241.15989.57"
24
+ pydevd-pycharm = "^243.18137.19"
25
25
 
26
26
  [build-system]
27
27
  requires = ["poetry-core"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ziya
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary:
5
5
  Author: Vishnu Krishnaprasad
6
6
  Author-email: vishnukool@gmail.com
@@ -12,14 +12,14 @@ Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Requires-Dist: boto3 (>=1.34.88,<2.0.0)
14
14
  Requires-Dist: jinja2 (>=3.1.3,<4.0.0)
15
- Requires-Dist: langchain (>=0.1,<0.2)
16
- Requires-Dist: langchain-anthropic (>=0.1.4,<0.2.0)
17
- Requires-Dist: langchain-aws (>=0.1.0,<0.2.0)
15
+ Requires-Dist: langchain (>=0.3,<0.4)
16
+ Requires-Dist: langchain-anthropic (>=0.2,<0.3)
17
+ Requires-Dist: langchain-aws (>=0.2,<0.3)
18
18
  Requires-Dist: langchain-cli (>=0.0.15)
19
19
  Requires-Dist: langchainhub (>=0.1.15)
20
- Requires-Dist: pydantic (<2)
21
- Requires-Dist: pydevd-pycharm (>=241.15989.57,<242.0.0)
22
- Requires-Dist: tiktoken (>=0.6.0,<0.7.0)
20
+ Requires-Dist: pydantic (>=2.9.2,<3.0.0)
21
+ Requires-Dist: pydevd-pycharm (>=243.18137.19,<244.0.0)
22
+ Requires-Dist: tiktoken (>=0.8.0,<0.9.0)
23
23
  Requires-Dist: uvicorn (>=0.23.2,<0.24.0)
24
24
  Description-Content-Type: text/markdown
25
25
 
@@ -1,6 +1,6 @@
1
1
  app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  app/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- app/agents/agent.py,sha256=OwO1pWhQc8gAmNQO5mOxRe7Ravc_LHZjXOn5uKjiz8Y,3618
3
+ app/agents/agent.py,sha256=bjGH8IwcgAaR2T5kz0RzhhC17_pKKx3qk-eq7XXtRO4,3612
4
4
  app/agents/prompts.py,sha256=s1gtElttFwaXCrW6FHOlvTPXbguyuZvrd1BEGmLkfhU,2785
5
5
  app/main.py,sha256=8kNIuHBnbPC4ldA0wC7BhI9TzNjyDHZQX1caqhByEaY,4068
6
6
  app/server.py,sha256=EOuQ_DqNjYmD2prB4_ttiUxVIeSxGxno76feoD0zfXM,3488
@@ -11,7 +11,7 @@ app/utils/langchain_validation_util.py,sha256=RgmKayKMApvUA7SPF_DrBAcYdIzzLUVJfn
11
11
  app/utils/logging_utils.py,sha256=8JEcc1t7L-a0G4HLmM8zFydNNSOd5l2-gkTxviLQUns,280
12
12
  app/utils/print_tree_util.py,sha256=O4Rb-GS8UODxfH7Z6bZGsr-opG6QLmvdaU1im5kh4IA,1419
13
13
  app/utils/version_util.py,sha256=NcvMWIImJDcO9K5OMX6jJD4q6Zb8Y117Mu8sWIkhxEc,631
14
- pyproject.toml,sha256=ph5lv7KKQpdz5J24bJ8E2IR8JgmvGV2r_0pHQu1Hocc,804
14
+ pyproject.toml,sha256=F9Lvrij_ATgn419v5Jp3nx-DW4-JtepMncgfJ3-nnDU,822
15
15
  scripts.py,sha256=70BOvYoboMhl3Bxjy73m1ozmI8UV8JZVyi2RwUptkK8,809
16
16
  templates/asset-manifest.json,sha256=UKfHq1FKhejTUZgnopTN1Z3FZjnc92z9jh0UQF9_NLc,1157
17
17
  templates/favicon.ico,sha256=HgB8xAZdDHFK2lODUsp2H_Dds_i14pnpydx7NEJrNrU,15086
@@ -29,8 +29,8 @@ templates/static/media/fa-solid-900.4d986b00ff9ca3828fbd.woff2,sha256=rhfBavvqIW
29
29
  templates/static/media/fa-solid-900.bacd5de623fb563b961a.ttf,sha256=tJkNDQxfXTjWLpNu6hIGdOWEx-6o3O44qXXAz5o3U5s,420332
30
30
  templates/static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf,sha256=_49SX7BQxdJFGczI9XI9hbLlHt0_m8ZUivVa663U8mk,10832
31
31
  templates/static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2,sha256=x6hp-sopnRW-EKAfGdB2WnxNRtiSLZuTFyNcHkpvCYI,4792
32
- ziya-0.1.38.dist-info/LICENSE,sha256=8CfErGEG13yY1Z-CDlIhAQawX2KOv-QI_2Ge2z6x8SU,1064
33
- ziya-0.1.38.dist-info/METADATA,sha256=bwVm6BOh9gZyI0NF5XQ9UrrT3Dq9R8lwm60yzq_jGYE,2694
34
- ziya-0.1.38.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
35
- ziya-0.1.38.dist-info/entry_points.txt,sha256=6-KUolj5XXeOPVCJGTJgUL_3lDVGxG-YtK5BTvFPyBg,147
36
- ziya-0.1.38.dist-info/RECORD,,
32
+ ziya-0.1.39.dist-info/LICENSE,sha256=8CfErGEG13yY1Z-CDlIhAQawX2KOv-QI_2Ge2z6x8SU,1064
33
+ ziya-0.1.39.dist-info/METADATA,sha256=s5Atd9hbCXgfzhLeNTebIxClbgkedfzD9_aosJzq9hw,2698
34
+ ziya-0.1.39.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
35
+ ziya-0.1.39.dist-info/entry_points.txt,sha256=6-KUolj5XXeOPVCJGTJgUL_3lDVGxG-YtK5BTvFPyBg,147
36
+ ziya-0.1.39.dist-info/RECORD,,
File without changes
File without changes