π‘ Docs Β Β β’Β Β πΈοΈ Web Β Β β’Β Β
AuxKnow is an advanced, state-of-the-art, fully customizable Answer Engine library, built to streamline the integration of intelligent answering capabilities into your applications. With AuxKnow, you can deploy feature-rich Answer Engines with minimal effort. For detailed guidance, refer to the Usage Instructions section in the documentation.
At The Hackers Playbook, we are committed to building cutting-edge AI infrastructure and platforms grown out of Bharat (India). AuxKnow represents a significant milestone in our mission to deliver robust, developer-friendly tools for crafting AI-driven solutions. We encourage you to explore, innovate, and share your insights to help us improve and evolve. We look forward to your participation in our mission, since we are largely community driven and believe in Open Source culture.
AuxKnow leverages the capabilities of Perplexityβs Sonar models to enable seamless integration of "Answer Engine" functionality. While Perplexityβs models provide the foundational technology, AuxKnow bridges the gap by delivering a highly configurable and user-friendly library to accelerate application development.
-
Fully Customizable: Configure AuxKnow to align perfectly with your applicationβs requirements. Its flexibility ensures it can adapt to various use cases, from simple Q&A to complex contextual reasoning.
-
Dynamic Query Routing: Automatically route user queries to the most appropriate model, ensuring optimal performance and accuracy.
-
Intelligent Query Restructuring: AuxKnow restructures user queries to improve response quality, delivering more accurate and relevant answers.
-
Contextual Search: AuxKnow can either leverage predefined contexts or autonomously build its own context to ensure that answers remain grounded in relevant knowledge.
-
Session Management: Seamlessly manage user interactions, including access to session history, context updates, and session resets. Export session data for analytics and debugging.
-
Streaming Responses: Enable real-time, incremental response generation for an enhanced user experience.
-
Source Attribution: Responses include detailed citations, ensuring transparency and reliability by grounding answers in trustworthy sources.
Install AuxKnow with a single command:
pip install auxknowTo begin using AuxKnow, ensure you have the required API keys (OPENAI_API_KEY and PERPLEXITY_API_KEY) configured in a .env file in your projectβs root directory.
Here is an example of how to get started:
from auxknow import AuxKnow
# Initialize the Answer Engine
engine = AuxKnow()
# Ask a question
response = engine.ask("What is the capital of France?")
# Print the response and its citations
print(response.answer)
print(response.citations)AuxKnow is designed to cater to a wide range of scenarios, including:
-
Vertical AI Agents: Build domain-specific AI agents tailored to industries such as healthcare, education, finance, or technology.
-
Advanced Q&A Systems: Integrate robust answering capabilities into your applications, powered by state-of-the-art Sonar models.
-
Custom User Experiences: Create personalized and immersive experiences with AuxKnowβs flexible configuration and session management features.
-
AI Infrastructure: Enhance your AI or LLM platform with AuxKnow to deliver best-in-class answering capabilities to your users.
- π― Improve ping test system prompt to fix errors with response formats which was failing the ping test.
- π― Added support for Perplexity Sonar Reasoning and Sonar Reasoning Pro.
- π― Stability improvements and test coverage.
- π― Fix dependencies not being correctly installed.
- π― Stability improvements and test coverage.
- π― Improved overall design and stability of AuxKnow.
- π― Added improved intelligence to handle various edge cases, errors and operations.
- π― Added
enable_performance_loggingconfiguration with configurable time units for performance logging. - π― Enhanced design of verbose logging across the codebase.
- π― Improved memory management in sessions.
- π― Codebase improvements, deprecated
api_keyin favour ofperplexity_api_key. - π Centralized defaults and constants management.
- π Fix incorrect setting of config which was causing an error with
set_config.
- π― Fastest responses: The
askmethods now support fast mode that can be enabled to receive the fastest possible responses at the cost of response quality and citation relevence.
- π― Conduct Deep Research: The
askmethods now support deep research mode that can be enabled with a flag.
- π Unbiased Reasoning Mode: Further refinements for enhanced neutrality.
- β‘ Streaming Enhancements: Faster response times with optimized performance.
- π― Accuracy Improvements: Fine-tuned models for better contextual understanding.
- π€ Integrated DeepSeek R1: Uncensored responses with citations.
- π§ Unbiased Reasoning Mode: Ensuring neutrality and factual accuracy.
- π Auto Prompt Augmentation: Boosts response quality through automated prompt augmentation.
We welcome contributions from developers around the globe. To get started, please review the Contributing Guidelines and submit your ideas, bug reports, or pull requests. Together, we can make AuxKnow even better.
AuxKnow is distributed under the AGPLv3 License. Refer to the LICENSE file for full details. Please also read the Terms of Use and Trademark.
"Knowledge is the foundation of progress." β The Hackers Playbook
Elevate your organization with AuxKnow and join us in redefining the future of AI-driven solutions.
