euriai 0.3.28__py3-none-any.whl → 0.3.29__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/euri_chat.py CHANGED
@@ -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 for the parent class
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 self.model,
35
- "temperature": temperature if temperature is not None else self.temperature,
36
- "max_tokens": max_tokens if max_tokens is not None else self.max_tokens,
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
euriai/euri_embed.py CHANGED
@@ -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 self.model,
17
+ "model": model if model is not None else "text-embedding-3-small",
18
18
  }
19
19
 
20
20
  # Initialize the parent class
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 0.3.28
3
+ Version: 0.3.29
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
@@ -2,12 +2,12 @@ euriai/__init__.py,sha256=8YhbRV8s4wmNxDP9KmjOxQYLgKUCke450vnp-8-kPKs,449
2
2
  euriai/cli.py,sha256=hF1wiiL2QQSfWf8WlLQyNVDBd4YkbiwmMSoPxVbyPTM,3290
3
3
  euriai/client.py,sha256=USiqdMULgAiky7nkrJKF3FyKcOS2DtDmUdbeBSnyLYk,4076
4
4
  euriai/embedding.py,sha256=z-LLKU68tCrPi9QMs1tlKwyr7WJcjceCTkNQIFMG6vA,1276
5
- euriai/euri_chat.py,sha256=I2n0ubzGW7-SLp2Kg_fRJ9QLZAP-fY5rSe6azn5QF6c,3585
6
- euriai/euri_embed.py,sha256=nwqFQ8ozMSP0xiTIf6W1QNur8SzV2OPBJRKNw7J7ouw,1650
5
+ euriai/euri_chat.py,sha256=tuNhwyyzZTSJjX4Su8XBftp7a5YtsalerglNhho2fpA,3573
6
+ euriai/euri_embed.py,sha256=SifhobAIAFuwt9x7K_f1uNhxuK14O2STtUCNC6TVApI,1693
7
7
  euriai/langchain_embed.py,sha256=OXWWxiKJ4g24TFgnWPOCZvhK7G8xtSf0ppQ2zwHkIPM,584
8
8
  euriai/langchain_llm.py,sha256=D5YvYwV7q9X2_vdoaQiPs7tNiUmjkGz-9Q-7M61hhkg,986
9
- euriai-0.3.28.dist-info/METADATA,sha256=30SD7cLiZoHRa7eu-2tOjdIImn3BPEYKLdu-9_gAGZg,3249
10
- euriai-0.3.28.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
11
- euriai-0.3.28.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
12
- euriai-0.3.28.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
13
- euriai-0.3.28.dist-info/RECORD,,
9
+ euriai-0.3.29.dist-info/METADATA,sha256=4V-uSeO1P7k0LmgtsSW3-gLX4_StMOoHNysS_ucvU3A,3249
10
+ euriai-0.3.29.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
11
+ euriai-0.3.29.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
12
+ euriai-0.3.29.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
13
+ euriai-0.3.29.dist-info/RECORD,,