ziya 0.1.37__tar.gz → 0.1.39__tar.gz
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.
- {ziya-0.1.37 → ziya-0.1.39}/PKG-INFO +7 -7
- {ziya-0.1.37 → ziya-0.1.39}/app/agents/agent.py +4 -4
- {ziya-0.1.37 → ziya-0.1.39}/pyproject.toml +7 -7
- {ziya-0.1.37 → ziya-0.1.39}/LICENSE +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/README.md +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/__init__.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/agents/__init__.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/agents/prompts.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/main.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/server.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/__init__.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/directory_util.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/gitignore_parser.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/langchain_validation_util.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/logging_utils.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/print_tree_util.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/app/utils/version_util.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/scripts.py +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/asset-manifest.json +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/favicon.ico +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/index.html +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/css/main.8af23da0.css +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/css/main.8af23da0.css.map +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/js/main.69f6f0d1.js +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/js/main.69f6f0d1.js.LICENSE.txt +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/js/main.69f6f0d1.js.map +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-brands-400.455ea818179b4def0c43.woff2 +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-brands-400.60127e352b7a11f7f1bc.ttf +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-regular-400.21cb8f55d8e0c5b89751.woff2 +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-regular-400.eb91f7b948a42799f678.ttf +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-solid-900.4d986b00ff9ca3828fbd.woff2 +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-solid-900.bacd5de623fb563b961a.ttf +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf +0 -0
- {ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2 +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ziya
|
|
3
|
-
Version: 0.1.
|
|
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.
|
|
16
|
-
Requires-Dist: langchain-anthropic (>=0.
|
|
17
|
-
Requires-Dist: langchain-aws (>=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 (
|
|
21
|
-
Requires-Dist: pydevd-pycharm (>=
|
|
22
|
-
Requires-Dist: tiktoken (>=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
|
|
|
@@ -5,10 +5,10 @@ import botocore
|
|
|
5
5
|
import tiktoken
|
|
6
6
|
from langchain.agents import AgentExecutor
|
|
7
7
|
from langchain.agents.format_scratchpad import format_xml
|
|
8
|
-
from
|
|
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
|
|
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
|
|
@@ -30,13 +30,13 @@ else:
|
|
|
30
30
|
logger.info("No AWS profile specified via --aws-profile flag, using default credentials")
|
|
31
31
|
model_id = {
|
|
32
32
|
"sonnet3.5": "us.anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
33
|
+
"opus": "us.anthropic.claude-3-opus-20240229-v1:0",
|
|
33
34
|
"sonnet": "us.anthropic.claude-3-sonnet-20240229-v1:0",
|
|
34
35
|
"haiku": "us.anthropic.claude-3-haiku-20240307-v1:0",
|
|
35
|
-
"opus": "us.anthropic.claude-3-opus-20240229-v1:0",
|
|
36
36
|
}[os.environ.get("ZIYA_AWS_MODEL", "sonnet3.5")]
|
|
37
37
|
logger.info(f"Using Claude Model: {model_id}")
|
|
38
38
|
|
|
39
|
-
model =
|
|
39
|
+
model = ChatBedrock(
|
|
40
40
|
model_id=model_id,
|
|
41
41
|
model_kwargs={"max_tokens": 4096, "temperature": 0.3, "top_k": 15},
|
|
42
42
|
credentials_profile_name=aws_profile if aws_profile else None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ziya"
|
|
3
|
-
version = "0.1.
|
|
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 = "
|
|
15
|
+
pydantic = "^2.9.2"
|
|
16
16
|
jinja2 = "^3.1.3"
|
|
17
|
-
tiktoken = "^0.
|
|
17
|
+
tiktoken = "^0.8.0"
|
|
18
18
|
boto3 = "^1.34.88"
|
|
19
|
-
langchain-aws = "
|
|
20
|
-
langchain = "
|
|
19
|
+
langchain-aws = ">=0.2,<0.3"
|
|
20
|
+
langchain = ">=0.3,<0.4"
|
|
21
21
|
langchainhub = ">=0.1.15"
|
|
22
|
-
langchain-anthropic = "
|
|
22
|
+
langchain-anthropic = ">=0.2,<0.3"
|
|
23
23
|
langchain-cli = ">=0.0.15"
|
|
24
|
-
pydevd-pycharm = "^
|
|
24
|
+
pydevd-pycharm = "^243.18137.19"
|
|
25
25
|
|
|
26
26
|
[build-system]
|
|
27
27
|
requires = ["poetry-core"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-regular-400.21cb8f55d8e0c5b89751.woff2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-v4compatibility.c8e090db312b0bea2aa2.ttf
RENAMED
|
File without changes
|
{ziya-0.1.37 → ziya-0.1.39}/templates/static/media/fa-v4compatibility.cf7f5903d06b79ad60f1.woff2
RENAMED
|
File without changes
|