euriai 0.3.23__tar.gz → 0.3.25__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.23 → euriai-0.3.25}/PKG-INFO +2 -2
- {euriai-0.3.23 → euriai-0.3.25}/euriai/__init__.py +1 -1
- {euriai-0.3.23 → euriai-0.3.25}/euriai/euri_chat.py +2 -2
- {euriai-0.3.23 → euriai-0.3.25}/euriai/euri_embed.py +2 -2
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/PKG-INFO +2 -2
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/requires.txt +1 -1
- {euriai-0.3.23 → euriai-0.3.25}/setup.py +2 -2
- {euriai-0.3.23 → euriai-0.3.25}/README.md +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai/cli.py +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai/client.py +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai/embedding.py +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai/langchain_embed.py +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai/langchain_llm.py +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/euriai.egg-info/top_level.txt +0 -0
- {euriai-0.3.23 → euriai-0.3.25}/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.25
|
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
|
@@ -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"
|
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
|
import requests
|
2
2
|
import numpy as np
|
3
|
-
from llama_index.embeddings.base import BaseEmbedding
|
3
|
+
from llama_index.core.embeddings.base import BaseEmbedding
|
4
4
|
|
5
5
|
class EuriaiLlamaIndexEmbedding(BaseEmbedding):
|
6
6
|
def __init__(self, api_key: str, model: str = "text-embedding-3-small"):
|
@@ -25,4 +25,4 @@ class EuriaiLlamaIndexEmbedding(BaseEmbedding):
|
|
25
25
|
return self._post_embedding([text])[0]
|
26
26
|
|
27
27
|
def get_text_embeddings(self, texts: list[str]) -> list[list[float]]:
|
28
|
-
return self._post_embedding(texts)
|
28
|
+
return self._post_embedding(texts)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: euriai
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.25
|
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.25",
|
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
|