euriai 0.3.15__py3-none-any.whl → 0.3.16__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.
- euriai/llamaindex/euri_chat.py +9 -6
- {euriai-0.3.15.dist-info → euriai-0.3.16.dist-info}/METADATA +1 -1
- {euriai-0.3.15.dist-info → euriai-0.3.16.dist-info}/RECORD +6 -6
- {euriai-0.3.15.dist-info → euriai-0.3.16.dist-info}/WHEEL +0 -0
- {euriai-0.3.15.dist-info → euriai-0.3.16.dist-info}/entry_points.txt +0 -0
- {euriai-0.3.15.dist-info → euriai-0.3.16.dist-info}/top_level.txt +0 -0
euriai/llamaindex/euri_chat.py
CHANGED
@@ -3,6 +3,7 @@ from typing import List, Optional
|
|
3
3
|
from llama_index.core.llms import LLM
|
4
4
|
from llama_index.core.base.llms.types import ChatMessage, CompletionResponse, CompletionResponseGen
|
5
5
|
|
6
|
+
|
6
7
|
class EuriaiLlamaIndexLLM(LLM):
|
7
8
|
api_key: str
|
8
9
|
model: str = "gpt-4.1-nano"
|
@@ -15,13 +16,15 @@ class EuriaiLlamaIndexLLM(LLM):
|
|
15
16
|
api_key: str,
|
16
17
|
model: Optional[str] = None,
|
17
18
|
temperature: Optional[float] = None,
|
18
|
-
max_tokens: Optional[int] = None
|
19
|
+
max_tokens: Optional[int] = None,
|
19
20
|
):
|
20
|
-
super
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
# ✅ Pydantic-style super init with all fields
|
22
|
+
super().__init__(
|
23
|
+
api_key=api_key,
|
24
|
+
model=model or self.model,
|
25
|
+
temperature=temperature if temperature is not None else self.temperature,
|
26
|
+
max_tokens=max_tokens if max_tokens is not None else self.max_tokens,
|
27
|
+
)
|
25
28
|
|
26
29
|
@property
|
27
30
|
def metadata(self):
|
@@ -5,10 +5,10 @@ euriai/embedding.py,sha256=z-LLKU68tCrPi9QMs1tlKwyr7WJcjceCTkNQIFMG6vA,1276
|
|
5
5
|
euriai/langchain_embed.py,sha256=OXWWxiKJ4g24TFgnWPOCZvhK7G8xtSf0ppQ2zwHkIPM,584
|
6
6
|
euriai/langchain_llm.py,sha256=D5YvYwV7q9X2_vdoaQiPs7tNiUmjkGz-9Q-7M61hhkg,986
|
7
7
|
euriai/llamaindex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
euriai/llamaindex/euri_chat.py,sha256=
|
8
|
+
euriai/llamaindex/euri_chat.py,sha256=Uw0rg-nriuZHUSdaO39qu0ub_M4ExEVK5Xyh83g8sYU,2953
|
9
9
|
euriai/llamaindex/euri_embed.py,sha256=RO62uzT9rStp9_Ow2cYa_ZrGabkPFX89ZL3Mgb13X08,1063
|
10
|
-
euriai-0.3.
|
11
|
-
euriai-0.3.
|
12
|
-
euriai-0.3.
|
13
|
-
euriai-0.3.
|
14
|
-
euriai-0.3.
|
10
|
+
euriai-0.3.16.dist-info/METADATA,sha256=GC-A-Xc6z0wdmDR_F2pkEerfkevCnaF91TL-fvSu1c8,3257
|
11
|
+
euriai-0.3.16.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
12
|
+
euriai-0.3.16.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
|
13
|
+
euriai-0.3.16.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
|
14
|
+
euriai-0.3.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|