https://github.com/helpingai/cookbook
The comprehensive guide to building with HelpingAI models - featuring the revolutionary Dhanishta 2.0 with intermediate thinking capabilities
https://github.com/helpingai/cookbook
Last synced: 11 months ago
JSON representation
The comprehensive guide to building with HelpingAI models - featuring the revolutionary Dhanishta 2.0 with intermediate thinking capabilities
- Host: GitHub
- URL: https://github.com/helpingai/cookbook
- Owner: HelpingAI
- License: apache-2.0
- Created: 2025-07-11T11:27:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-11T12:14:31.000Z (12 months ago)
- Last Synced: 2025-07-11T15:04:41.743Z (12 months ago)
- Language: Jupyter Notebook
- Size: 117 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HelpingAI Cookbook 🧠✨
[](https://helpingai.co)
[](https://huggingface.co/HelpingAI/Dhanishta-2.0-preview)
[](https://python.org)
[](LICENSE)
> **The comprehensive guide to building with HelpingAI models - featuring the revolutionary Dhanishta 2.0 with intermediate thinking capabilities**
Welcome to the HelpingAI Cookbook! This repository contains examples, guides, and best practices for using HelpingAI's powerful AI models, including the groundbreaking **Dhanishta 2.0** - the world's first AI model with intermediate thinking capabilities.
## 🌟 What Makes This Special?
### 🚀 Dhanishta 2.0: Revolutionary AI Reasoning
- **World's First Intermediate Thinking Model**: See AI think, reconsider, and refine its reasoning in real-time
- **Transparent Reasoning**: `...` blocks show the AI's thought process
- **Self-Correction**: AI can identify and fix its own logical inconsistencies
- **Multi-Phase Reasoning**: Complex problems solved through iterative thinking
- **39+ Languages**: Multilingual reasoning with consistent quality
## 🎯 Quick Start
### Installation
```bash
pip install HelpingAI
```
### Your First API Call
```python
from HelpingAI import HAI
# Initialize the client
hai = HAI()
# Experience Dhanishta 2.0's thinking process
response = hai.chat.completions.create(
model="Dhanishtha-2.0-preview",
messages=[
{"role": "user", "content": "How many letter 'r' are in 'strawberry'?"}
],
hide_think=False # Show the thinking process!
)
print(response.choices[0].message.content)
```
## 📚 Table of Contents
### 🏁 Getting Started
- [**Quick Start Guide**](guides/getting-started.md) - Your first steps with HelpingAI
- [**Model Overview**](guides/models.md) - Understanding all available models
### 🧠 Dhanishta 2.0 Guides
- [**Intermediate Thinking**](guides/dhanishta-2.0/intermediate-thinking.md) - Understanding AI reasoning
### 📓 Jupyter Notebooks
#### Basic Examples
- [**First API Call**](notebooks/basic/01-first-api-call.ipynb) - Hello World with HelpingAI
- [**Chat Completions**](notebooks/basic/02-chat-completions.ipynb) - Basic conversations
- [**Streaming Responses**](notebooks/basic/03-streaming.ipynb) - Real-time responses
- [**Parameter Tuning**](notebooks/basic/04-parameters.ipynb) - Controlling AI behavior
- [**Tool Calling**](notebooks/basic/05-toolcalling.ipynb) - Function calling and tool integration
#### Dhanishta 2.0 Notebooks
- [**Thinking Process Demo**](notebooks/dhanishta-2.0/01-thinking-demo.ipynb) - See AI think step-by-step
- [**Complex Reasoning**](notebooks/dhanishta-2.0/02-complex-reasoning.ipynb) - Multi-step problem solving
- [**Self-Correction Examples**](notebooks/dhanishta-2.0/03-self-correction.ipynb) - AI fixing its mistakes
- [**Multilingual Thinking**](notebooks/dhanishta-2.0/04-multilingual.ipynb) - Reasoning in multiple languages
### 📖 Reference
- [**API Reference**](reference/api.md) - Complete API documentation
- [**Model Specifications**](guides/models.md) - Detailed model information
- [**Best Practices**](reference/best-practices.md) - Production-ready guidelines
## 🌟 Featured Examples
### 🧠 Dhanishta 2.0 Thinking in Action
```python
# Watch AI solve a logic puzzle step by step
response = hai.chat.completions.create(
model="Dhanishtha-2.0-preview",
messages=[{
"role": "user",
"content": "If it takes 5 machines 5 minutes to make 5 widgets, how long would it take 100 machines to make 100 widgets?"
}],
hide_think=False
)
# Output shows thinking process:
#
# Let me think about this step by step...
# If 5 machines make 5 widgets in 5 minutes...
# That means each machine makes 1 widget in 5 minutes...
# So 100 machines would each make 1 widget in 5 minutes...
# Therefore 100 machines make 100 widgets in 5 minutes!
#
```
## 🎨 Use Cases
| Use Case | Best Model | Key Features |
|----------|------------|--------------|
| **Complex Problem Solving** | Dhanishta 2.0 | Intermediate thinking, self-correction |
| **Educational Content** | Dhanishta 2.0 | Step-by-step reasoning, explanations |
| **Creative Writing** | Dhanishta 2.0 | Creativity with advanced reasoning |
| **Multilingual Tasks** | Dhanishta 2.0 | 39+ languages with consistent reasoning |
## 🚀 What's New
- **🆕 Dhanishta 2.0 Preview**: World's first intermediate thinking AI model
- **🧠 Transparent Reasoning**: See how AI thinks with `` blocks
- **🔄 Self-Correction**: AI that can fix its own mistakes
- **🌍 Multilingual Reasoning**: Consistent thinking across 39+ languages
## 🤝 Contributing
We welcome contributions! Feel free to open issues, submit pull requests, or suggest improvements to help make this project better.
## 📄 License
This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.
## 🔗 Links
- [HelpingAI Website](https://helpingai.co)
- [API Documentation](https://docs.helpingai.co)
- [Dhanishta 2.0 on Hugging Face](https://huggingface.co/HelpingAI/Dhanishta-2.0-preview)
- [Python SDK](https://pypi.org/project/HelpingAI/)
- [Discord Community](https://discord.gg/helpingai)
---
**Built with ❤️ by the HelpingAI Team**
*Empowering developers to build the future of AI applications*