You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -219,3 +239,97 @@ If you encounter issues, follow these steps:
219
239
220
240
3.**Check Firewall Settings:**
221
241
Confirm that your instance is publicly accessible on port `80`.
242
+
243
+
## 🔑 Key Components
244
+
245
+
The following scripts are the crucial parts of this template and provide a strong base for building and customizing your autonomous AI agent. You can tweak these components to extend functionality, integrate additional features, or adapt them to your project's specific needs.
246
+
247
+
### Blockchain Integration (`blockchain/`)
248
+
249
+
This module handles interactions with the Flare blockchain. The `FlareProvider` class abstracts operations such as wallet creation, transaction construction, and secure transaction submission.
250
+
251
+
```python
252
+
from flare_ai_defai.blockchain import FlareProvider
The AI integration layer allows you to interact with various AI providers through a unified interface. The architecture is modular enough to support alternative providers.
275
+
276
+
```python
277
+
from flare_ai_defai.ai import GeminiProvider
278
+
279
+
# Initialize the AI provider with required credentials and model settings
280
+
ai = GeminiProvider(
281
+
api_key="YOUR_API_KEY",
282
+
model="gemini-pro"
283
+
)
284
+
285
+
# Generate a response from the AI based on your prompt
0 commit comments