solana-agent 1.4.0__py3-none-any.whl → 1.4.2__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.
- solana_agent/ai.py +3 -3
- {solana_agent-1.4.0.dist-info → solana_agent-1.4.2.dist-info}/METADATA +2 -2
- solana_agent-1.4.2.dist-info/RECORD +6 -0
- solana_agent-1.4.0.dist-info/RECORD +0 -6
- {solana_agent-1.4.0.dist-info → solana_agent-1.4.2.dist-info}/LICENSE +0 -0
- {solana_agent-1.4.0.dist-info → solana_agent-1.4.2.dist-info}/WHEEL +0 -0
solana_agent/ai.py
CHANGED
|
@@ -774,7 +774,7 @@ class AI:
|
|
|
774
774
|
"sonar", "sonar-pro", "sonar-reasoning-pro", "sonar-reasoning"
|
|
775
775
|
] = "sonar",
|
|
776
776
|
openai_model: Literal["o1", "o3-mini"] = "o3-mini",
|
|
777
|
-
grok_model: Literal["grok-
|
|
777
|
+
grok_model: Literal["grok-2-latest"] = "grok-2-latest",
|
|
778
778
|
namespace: str = "global",
|
|
779
779
|
) -> str:
|
|
780
780
|
"""Combine multiple data sources with AI reasoning to answer queries.
|
|
@@ -857,13 +857,13 @@ class AI:
|
|
|
857
857
|
return f"Failed to reason. Error: {e}"
|
|
858
858
|
|
|
859
859
|
# x search tool - has to be sync
|
|
860
|
-
def search_x(self, query: str, model: Literal["grok-
|
|
860
|
+
def search_x(self, query: str, model: Literal["grok-2-latest"] = "grok-2-latest") -> str:
|
|
861
861
|
try:
|
|
862
862
|
"""Search X (formerly Twitter) using Grok API integration.
|
|
863
863
|
|
|
864
864
|
Args:
|
|
865
865
|
query (str): Search query to find relevant X posts
|
|
866
|
-
model (Literal["grok-
|
|
866
|
+
model (Literal["grok-2-latest"], optional): Grok model to use. Defaults to "grok-2-latest"
|
|
867
867
|
|
|
868
868
|
Returns:
|
|
869
869
|
str: Search results from X or error message if search fails
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: solana-agent
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Build self-learning AI Agents
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: ai,openai,ai agents
|
|
@@ -68,7 +68,7 @@ Unlike traditional AI assistants that forget conversations after each session, S
|
|
|
68
68
|
- Conversational message history using MongoDB (on-prem or hosted)
|
|
69
69
|
- Knowledge Base (KB) using Pinecone with reranking by Cohere - available globally or user-specific
|
|
70
70
|
- File uploading and searching using OpenAI like for PDFs
|
|
71
|
-
- Upload
|
|
71
|
+
- Upload CSVs to be processed into summary reports and stored in the Knowledge Base (KB) using Gemini
|
|
72
72
|
- Comprehensive reasoning combining multiple data sources
|
|
73
73
|
|
|
74
74
|
## Why Choose Solana Agent Over LangChain?
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
+
solana_agent/ai.py,sha256=96D7W-aJpqCvXNCEckw2ho-e66CeElyd0T4S1eZe5M0,46872
|
|
3
|
+
solana_agent-1.4.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
+
solana_agent-1.4.2.dist-info/METADATA,sha256=yuaR7g1LDE446cJeMfBbjUPBw4mi-W-3fApTVt5AUSk,4871
|
|
5
|
+
solana_agent-1.4.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
+
solana_agent-1.4.2.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
-
solana_agent/ai.py,sha256=BprYscIZfeTFyi2CY-E-OOy2fYnkX_vk9r8wd-4qezw,46848
|
|
3
|
-
solana_agent-1.4.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
-
solana_agent-1.4.0.dist-info/METADATA,sha256=AJn9pdW6QTqD4FpbpP8JQoOJhmKRZBTy6wl_FyHUuPY,4875
|
|
5
|
-
solana_agent-1.4.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
-
solana_agent-1.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|