Current collected state Current
Observed since 21 Oct, 10:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A package for AI debate and chat functionalities
A powerful Python package for creating AI-powered debate and chat applications with advanced knowledge retrieval capabilities.
pip install ai-debate-chat
from ai_debate_chat.debate_chat import AIDebateBot
# Initialize with OpenAI (requires API key)
bot = AIDebateBot(
topic="Climate Change",
model_choice="openai",
api_key="your-api-key"
)
# Generate a response to a question
response = bot.generate_response("What are the main arguments for carbon taxes?")
print(response)
# Or use the interactive mode
bot.run_interactive()
# Use Claude AI
bot = AIDebateBot(topic="Artificial Intelligence Ethics", model_choice="claude", api_key="your-anthropic-key")
# Use a local model
bot = AIDebateBot(topic="Space Exploration", model_choice="local", local_model_path="path/to/your/model")
# Use G4F (GPT for Free)
bot = AIDebateBot(topic="Quantum Computing", model_choice="g4f")
from langchain.memory import ConversationBufferMemory
# Create custom memory
memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
# Initialize bot with custom memory
bot = AIDebateBot(
topic="Cryptocurrency",
model_choice="openai",
api_key="your-api-key",
memory=memory,
max_memory_items=15 # Control memory size
)
# Clear memory when needed
bot.clear_memory()
The package includes a sophisticated machine learning pipeline that:
MIT License
Contributions are welcome! Please feel free to submit a Pull Request.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 30 Mar 2025 | 14 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 10:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7bf152421fbcb2006052b702baa0fc50a5f9d153cc4941659caf5fd6e357373a