euriai 0.3.28__tar.gz → 0.3.29__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.28 → euriai-0.3.29}/PKG-INFO +1 -1
- {euriai-0.3.28 → euriai-0.3.29}/euriai/euri_chat.py +4 -4
- {euriai-0.3.28 → euriai-0.3.29}/euriai/euri_embed.py +2 -2
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/PKG-INFO +1 -1
- {euriai-0.3.28 → euriai-0.3.29}/setup.py +1 -1
- {euriai-0.3.28 → euriai-0.3.29}/README.md +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/__init__.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/cli.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/client.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/embedding.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/langchain_embed.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai/langchain_llm.py +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/SOURCES.txt +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/dependency_links.txt +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/entry_points.txt +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/requires.txt +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/euriai.egg-info/top_level.txt +0 -0
- {euriai-0.3.28 → euriai-0.3.29}/setup.cfg +0 -0
@@ -28,12 +28,12 @@ class EuriaiLlamaIndexLLM(LLM):
|
|
28
28
|
temperature (float, optional): Sampling temperature. Defaults to 0.7.
|
29
29
|
max_tokens (int, optional): Maximum number of tokens. Defaults to 1000.
|
30
30
|
"""
|
31
|
-
# Create a dictionary of parameters
|
31
|
+
# Create a dictionary of parameters with default values directly
|
32
32
|
model_params = {
|
33
33
|
"api_key": api_key,
|
34
|
-
"model": model if model is not None else
|
35
|
-
"temperature": temperature if temperature is not None else
|
36
|
-
"max_tokens": max_tokens if max_tokens is not None else
|
34
|
+
"model": model if model is not None else "gpt-4.1-nano",
|
35
|
+
"temperature": temperature if temperature is not None else 0.7,
|
36
|
+
"max_tokens": max_tokens if max_tokens is not None else 1000,
|
37
37
|
}
|
38
38
|
|
39
39
|
# Initialize the parent class with the parameters
|
@@ -11,10 +11,10 @@ class EuriaiLlamaIndexEmbedding(BaseEmbedding):
|
|
11
11
|
|
12
12
|
def __init__(self, api_key: str, model: Optional[str] = None):
|
13
13
|
"""Initialize embedding model with API key and model name."""
|
14
|
-
# Create parameters for the parent class
|
14
|
+
# Create parameters for the parent class with default values directly
|
15
15
|
embed_params = {
|
16
16
|
"api_key": api_key,
|
17
|
-
"model": model if model is not None else
|
17
|
+
"model": model if model is not None else "text-embedding-3-small",
|
18
18
|
}
|
19
19
|
|
20
20
|
# Initialize the parent class
|
@@ -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.29",
|
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",
|
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
|