euriai 0.3.22__tar.gz → 0.3.24__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.
- {euriai-0.3.22 → euriai-0.3.24}/PKG-INFO +2 -2
- {euriai-0.3.22 → euriai-0.3.24}/euriai/__init__.py +1 -1
- {euriai-0.3.22 → euriai-0.3.24}/euriai/euri_chat.py +3 -3
- {euriai-0.3.22 → euriai-0.3.24}/euriai/euri_embed.py +1 -1
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/PKG-INFO +2 -2
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/requires.txt +1 -1
- {euriai-0.3.22 → euriai-0.3.24}/setup.py +2 -2
- {euriai-0.3.22 → euriai-0.3.24}/README.md +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai/cli.py +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai/client.py +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai/embedding.py +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai/langchain_embed.py +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai/langchain_llm.py +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/euriai.egg-info/top_level.txt +0 -0
- {euriai-0.3.22 → euriai-0.3.24}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: euriai
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.24
|
4
4
|
Summary: Python client for EURI LLM API (euron.one) with CLI, LangChain, and LlamaIndex integration
|
5
5
|
Author: euron.one
|
6
6
|
Author-email: sudhanshu@euron.one
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.6
|
|
13
13
|
Description-Content-Type: text/markdown
|
14
14
|
Requires-Dist: requests
|
15
15
|
Requires-Dist: langchain-core
|
16
|
-
Requires-Dist: llama-index
|
16
|
+
Requires-Dist: llama-index>=0.10.0
|
17
17
|
Requires-Dist: numpy
|
18
18
|
Dynamic: author
|
19
19
|
Dynamic: author-email
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import requests
|
2
2
|
from typing import List, Optional
|
3
3
|
from llama_index.core.llms import LLM
|
4
|
-
from llama_index.core.
|
4
|
+
from llama_index.core.llms.base import ChatMessage, CompletionResponse, CompletionResponseGen
|
5
5
|
|
6
6
|
|
7
7
|
class EuriaiLlamaIndexLLM(LLM):
|
@@ -9,7 +9,7 @@ class EuriaiLlamaIndexLLM(LLM):
|
|
9
9
|
model: str = "gpt-4.1-nano"
|
10
10
|
temperature: float = 0.7
|
11
11
|
max_tokens: int = 1000
|
12
|
-
url: str = "https://api.euron.one/api/v1/chat/completions"
|
12
|
+
url: str = "https://api.euron.one/api/v1/euri/alpha/chat/completions" # Updated to match client.py
|
13
13
|
|
14
14
|
def __init__(
|
15
15
|
self,
|
@@ -72,4 +72,4 @@ class EuriaiLlamaIndexLLM(LLM):
|
|
72
72
|
raise NotImplementedError("Async streaming not supported.")
|
73
73
|
|
74
74
|
async def astream_complete(self, prompt: str, **kwargs) -> CompletionResponseGen:
|
75
|
-
raise NotImplementedError("Async streaming not supported.")
|
75
|
+
raise NotImplementedError("Async streaming not supported.")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: euriai
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.24
|
4
4
|
Summary: Python client for EURI LLM API (euron.one) with CLI, LangChain, and LlamaIndex integration
|
5
5
|
Author: euron.one
|
6
6
|
Author-email: sudhanshu@euron.one
|
@@ -13,7 +13,7 @@ Requires-Python: >=3.6
|
|
13
13
|
Description-Content-Type: text/markdown
|
14
14
|
Requires-Dist: requests
|
15
15
|
Requires-Dist: langchain-core
|
16
|
-
Requires-Dist: llama-index
|
16
|
+
Requires-Dist: llama-index>=0.10.0
|
17
17
|
Requires-Dist: numpy
|
18
18
|
Dynamic: author
|
19
19
|
Dynamic: author-email
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name="euriai",
|
5
|
-
version="0.3.
|
5
|
+
version="0.3.24",
|
6
6
|
description="Python client for EURI LLM API (euron.one) with CLI, LangChain, and LlamaIndex integration",
|
7
7
|
long_description=open("README.md", encoding="utf-8").read(),
|
8
8
|
long_description_content_type="text/markdown",
|
@@ -12,7 +12,7 @@ setup(
|
|
12
12
|
install_requires=[
|
13
13
|
"requests",
|
14
14
|
"langchain-core",
|
15
|
-
"llama-index>=0.10.0
|
15
|
+
"llama-index>=0.10.0",
|
16
16
|
"numpy"
|
17
17
|
]
|
18
18
|
,
|
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
|