euriai 0.3.4__py3-none-any.whl → 0.3.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: euriai
3
- Version: 0.3.4
3
+ Version: 0.3.5
4
4
  Summary: Python client for EURI LLM API (euron.one) with CLI and interactive wizard
5
5
  Author: euron.one
6
6
  Author-email: sudhanshu@euron.one
@@ -23,20 +23,23 @@ Dynamic: requires-dist
23
23
  Dynamic: requires-python
24
24
  Dynamic: summary
25
25
 
26
- # euriai 🧠
26
+ # euriai 🧠
27
27
 
28
- **EURI AI Python Client** – A simple wrapper and CLI tool for the [Euron LLM API](https://api.euron.one).
29
- Supports completions, streaming responses, CLI interaction, and an interactive guided wizard!
28
+ **EURI AI Python Client** – A simple wrapper and CLI tool for the [Euron LLM API](https://api.euron.one). Supports completions, streaming responses, embeddings, CLI interaction, and an interactive guided wizard!
30
29
 
31
30
  ---
32
31
 
33
- ## 🔧 Installation
32
+ ## 🔧 Installation
34
33
 
35
34
  ```bash
36
35
  pip install euriai
36
+ ```
37
37
 
38
- ## python sample Usage
38
+ ## 🚀 Python Usage
39
39
 
40
+ ### Text Generation
41
+
42
+ ```python
40
43
  from euriai import EuriaiClient
41
44
 
42
45
  client = EuriaiClient(
@@ -51,25 +54,42 @@ response = client.generate_completion(
51
54
  )
52
55
 
53
56
  print(response)
57
+ ```
54
58
 
59
+ ### Embeddings
60
+
61
+ ```python
62
+ from euriai.embedding import EuriaiEmbeddingClient
63
+
64
+ client = EuriaiEmbeddingClient(api_key="your_key")
65
+ embedding = client.embed("Hello world")
66
+ print(embedding[:5]) # Print first 5 dimensions of the embedding vector
67
+ ```
55
68
 
56
69
  ## 💻 Command-Line Interface (CLI) Usage
70
+
57
71
  Run prompts directly from the terminal:
58
72
 
73
+ ```bash
59
74
  euriai --api_key YOUR_API_KEY --prompt "Tell me a joke"
75
+ ```
60
76
 
77
+ Enable streaming output (if supported by the model):
61
78
 
62
- ## Enable streaming output (if supported by the model):
63
-
79
+ ```bash
64
80
  euriai --api_key YOUR_API_KEY --prompt "Stream a fun fact" --stream
81
+ ```
65
82
 
83
+ List all supported model IDs with recommended use-cases and temperature/token advice:
66
84
 
67
- ##List all supported model IDs with recommended use-cases and temperature/token advice:
68
-
85
+ ```bash
69
86
  euriai --models
87
+ ```
70
88
 
71
89
  ## 🤖 LangChain Integration
72
90
 
91
+ ### Text Generation
92
+
73
93
  Use Euriai with LangChain directly:
74
94
 
75
95
  ```python
@@ -77,9 +97,37 @@ from euriai import EuriaiLangChainLLM
77
97
 
78
98
  llm = EuriaiLangChainLLM(
79
99
  api_key="your_api_key",
80
- model="gpt-4.1-nano",
100
+ model="gpt-4.1-nano",
81
101
  temperature=0.7,
82
102
  max_tokens=300
83
103
  )
84
104
 
85
105
  print(llm.invoke("Write a poem about time travel."))
106
+ ```
107
+
108
+ ### Embeddings
109
+
110
+ Use Euriai embeddings with LangChain:
111
+
112
+ ```python
113
+ from euriai.langchain_embed import EuriaiEmbeddings
114
+
115
+ embedding_model = EuriaiEmbeddings(api_key="your_key")
116
+ print(embedding_model.embed_query("What's AI?")[:5]) # Print first 5 dimensions
117
+ ```
118
+
119
+ ## 📘 Documentation
120
+
121
+ For full documentation, visit our [official docs site](https://docs.euron.one).
122
+
123
+ ## 🔑 Getting an API Key
124
+
125
+ Sign up for an API key at [Euron AI Platform](https://app.euron.one).
126
+
127
+ ## 🤝 Contributing
128
+
129
+ Contributions are welcome! Please feel free to submit a Pull Request.
130
+
131
+ ## 📄 License
132
+
133
+ This project is licensed under the MIT License - see the LICENSE file for details.
@@ -4,8 +4,8 @@ euriai/client.py,sha256=USiqdMULgAiky7nkrJKF3FyKcOS2DtDmUdbeBSnyLYk,4076
4
4
  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
- euriai-0.3.4.dist-info/METADATA,sha256=QrZomCuobKBoKfkd1-jvAKcGxzuyf8IKaGQ0va-aW9g,2105
8
- euriai-0.3.4.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
9
- euriai-0.3.4.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
10
- euriai-0.3.4.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
11
- euriai-0.3.4.dist-info/RECORD,,
7
+ euriai-0.3.5.dist-info/METADATA,sha256=ThWi1JDToa_NIcX9_91si-0i6w7Ali9nZGzALFmomD8,3160
8
+ euriai-0.3.5.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
9
+ euriai-0.3.5.dist-info/entry_points.txt,sha256=9OkET8KIGcsjQn8UlnpPKRT75s2KW34jq1__1SXtpMA,43
10
+ euriai-0.3.5.dist-info/top_level.txt,sha256=TG1htJ8cuD62MXn-NJ7DVF21QHY16w6M_QgfF_Er_EQ,7
11
+ euriai-0.3.5.dist-info/RECORD,,
File without changes