Startonix / Modular-AI

Advanced AI Training and Building Repository
0 stars 0 forks source link

Unit Testing #133

Open Startonix opened 1 month ago

Startonix commented 1 month ago

test_nlp_module.py

import unittest

class TestNLPModule(unittest.TestCase): def test_response(self): response = enhanced_chat_with_gpt("What is AI?", "Technology") self.assertIn("AI", response)

if name == 'main': unittest.main()