@@ -52,7 +52,7 @@ hai = HAI()
5252
5353# Create a chat completion
5454response = hai.chat.completions.create(
55- model = " Helpingai3-raw " ,
55+ model = " Dhanishtha-2.0-preview " ,
5656 messages = [
5757 {" role" : " system" , " content" : " You are an expert in emotional intelligence." },
5858 {" role" : " user" , " content" : " What makes a good leader?" }
@@ -67,7 +67,7 @@ print(response.choices[0].message.content)
6767``` python
6868# Stream responses in real-time
6969for chunk in hai.chat.completions.create(
70- model = " Helpingai3-raw " ,
70+ model = " Dhanishtha-2.0-preview " ,
7171 messages = [{" role" : " user" , " content" : " Tell me about empathy" }],
7272 stream = True
7373):
@@ -113,7 +113,7 @@ def make_completion_with_retry(messages, max_retries=3):
113113 for attempt in range (max_retries):
114114 try :
115115 return hai.chat.completions.create(
116- model = " Helpingai3-raw " ,
116+ model = " Dhanishtha-2.0-preview " ,
117117 messages = messages
118118 )
119119 except RateLimitError as e:
@@ -130,24 +130,24 @@ def make_completion_with_retry(messages, max_retries=3):
130130
131131## 🤖 Available Models
132132
133- ### Helpingai3-raw
134- - ** Advanced Emotional Intelligence** : Enhanced emotional understanding and contextual awareness
135- - ** Training Data** : 15M emotional dialogues, 3M therapeutic exchanges, 250K cultural conversations, 1M crisis response scenarios
136- - ** Best For** : AI companionship, emotional support, therapy guidance, personalized learning
137-
138133### Dhanishtha-2.0-preview
139134- ** World's First Intermediate Thinking Model** : Multi-phase reasoning with self-correction capabilities
140135- ** Unique Features** : ` <think>...</think> ` blocks for transparent reasoning, structured emotional reasoning (SER)
141136- ** Best For** : Complex problem-solving, analytical tasks, educational content, reasoning-heavy applications
142137
138+ ### Dhanishtha-2.0-preview-mini
139+ - ** Lightweight Reasoning Model** : Efficient version of Dhanishtha-2.0-preview
140+ - ** Unique Features** : Same reasoning capabilities in a more compact model
141+ - ** Best For** : Faster responses, mobile applications, resource-constrained environments
142+
143143``` python
144144# List all available models
145145models = hai.models.list()
146146for model in models:
147147 print (f " Model: { model.id} - { model.description} " )
148148
149149# Get specific model info
150- model = hai.models.retrieve(" Helpingai3-raw " )
150+ model = hai.models.retrieve(" Dhanishtha-2.0-preview " )
151151print (f " Model: { model.name} " )
152152
153153# Use Dhanishtha-2.0 for complex reasoning
@@ -165,7 +165,7 @@ Transform any Python function into a powerful AI tool with zero boilerplate usin
165165
166166``` python
167167from HelpingAI import HAI
168- from HelpingAI.tools import tools, get_tools_format
168+ from HelpingAI.tools import tools, get_tools
169169
170170@tools
171171def get_weather (city : str , units : str = " celsius" ) -> str :
@@ -193,9 +193,9 @@ def calculate_tip(bill_amount: float, tip_percentage: float = 15.0) -> dict:
193193# Use with chat completions
194194hai = HAI()
195195response = hai.chat.completions.create(
196- model = " Helpingai3-raw " ,
196+ model = " Dhanishtha-2.0-preview " ,
197197 messages = [{" role" : " user" , " content" : " What's the weather in Paris and calculate tip for $50 bill?" }],
198- tools = get_tools_format () # Automatically includes all @tools functions
198+ tools = get_tools () # Automatically includes all @tools functions
199199)
200200
201201print (response.choices[0 ].message.content)
@@ -286,13 +286,13 @@ legacy_tools = [{
286286# Combine with @tools functions
287287combined_tools = merge_tool_lists(
288288 legacy_tools, # Existing tools
289- get_tools_format (), # @tools functions
289+ get_tools (), # @tools functions
290290 " math" # Category name (if you have categorized tools)
291291)
292292
293293# Use in chat completion
294294response = hai.chat.completions.create(
295- model = " Helpingai3-raw " ,
295+ model = " Dhanishtha-2.0-preview " ,
296296 messages = [{" role" : " user" , " content" : " Help me with weather, calculations, and web search" }],
297297 tools = combined_tools
298298)
@@ -396,32 +396,10 @@ Comprehensive documentation is available:
396396
397397- [ 📖 Getting Started Guide] ( docs/getting_started.md ) - Installation and basic usage
398398- [ 🔧 API Reference] ( docs/api_reference.md ) - Complete API documentation
399+ - [ 🛠️ Tool Calling Guide] ( docs/tool_calling.md ) - Creating and using AI-callable tools
399400- [ 💡 Examples] ( docs/examples.md ) - Code examples and use cases
400401- [ ❓ FAQ] ( docs/faq.md ) - Frequently asked questions
401402
402- ## 🏗️ Project Structure
403-
404- ```
405- HelpingAI-python/
406- ├── HelpingAI/ # Main package
407- │ ├── __init__.py # Package initialization
408- │ ├── client.py # Main HAI client
409- │ ├── models.py # Model management
410- │ ├── base_models.py # Data models
411- │ ├── error.py # Exception classes
412- │ ├── version.py # Version information
413- │ └── tools/ # Tool calling utilities
414- │ ├── __init__.py # Tools module exports
415- │ ├── core.py # @tools decorator and Fn class
416- │ ├── schema.py # Automatic schema generation
417- │ ├── registry.py # Tool registry management
418- │ ├── compatibility.py # Format conversion utilities
419- │ └── errors.py # Tool-specific exceptions
420- ├── docs/ # Documentation
421- ├── tests/ # Test suite
422- ├── setup.py # Package configuration
423- └── README.md # This file
424- ```
425403
426404## 🔧 Requirements
427405
@@ -449,26 +427,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
449427- ** Issues** : [ GitHub Issues] ( https://github.com/HelpingAI/HelpingAI-python/issues )
450428- ** Documentation** : [ HelpingAI Docs] ( https://helpingai.co/docs )
451429- ** Dashboard** : [ HelpingAI Dashboard] ( https://helpingai.co/dashboard )
452- - ** Email** : varun@helpingai.co
453-
454- ## 🚀 What's New in v1.1.0
455-
456- - ** 🔧 Tool Calling Framework** : New [ ` @tools decorator ` ] ( HelpingAI/tools/core.py:144 ) for effortless tool creation
457- - ** 🤖 Automatic Schema Generation** : Type hint-based JSON schema creation with docstring parsing
458- - ** 🔄 Universal Compatibility** : Seamless integration with existing OpenAI-format tools
459- - ** 📝 Smart Documentation** : Multi-format docstring parsing (Google, Sphinx, NumPy styles)
460- - ** 🛡️ Enhanced Tool Error Handling** : Comprehensive exception types for tool operations
461- - ** Extended Python Support** : Now supports Python 3.7-3.14
462- - ** Updated Models** : Support for latest models (Helpingai3-raw, Dhanishtha-2.0-preview)
463- - ** Dhanishtha-2.0 Integration** : World's first intermediate thinking model with multi-phase reasoning
464- - ** HelpingAI3 Support** : Enhanced emotional intelligence with advanced contextual awareness
465- - ** Improved Model Management** : Better fallback handling and detailed model descriptions
466- - ** OpenAI-Compatible Interface** : Familiar API design
467- - ** Enhanced Error Handling** : Comprehensive exception types
468- - ** Streaming Support** : Real-time response streaming
469- - ** Advanced Filtering** : Hide reasoning blocks with ` hide_think ` parameter
430+ - ** Email** : Team@helpingai.co
470431
471- ---
472432
473433** Built with ❤️ by the HelpingAI Team**
474434
0 commit comments