Metadata-Version: 2.1
Name: neurowave-logger
Version: 0.0.1a2
Summary: Log agent for Neurowave
License: MIT
Author: Neurowave AI
Author-email: it@neurowave.ai
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: langchain (==0.0.344)
Requires-Dist: loguru (==0.7.2)
Requires-Dist: openai (>=1.3.6)
Project-URL: homepage, https://github.com/neurowaveai/coeval_logger
Description-Content-Type: text/markdown

# coeval_logger


<!-- question
1. do we actually need to log prompt ? -> for a chatbot, the prompt is actually mostly the dialogue history
2.send to the server.
3.how's the demo looks like later ?

submit format:
 -->
 {
   "meta": {
     "app_key": "xxx",
     "session_id": "xxx",
     "model_name": "GPT-4",
     "version_tag": [
       "v1",
       "eval"
     ],
     "user": {
       "name": "xxxx",
       "gender": "male"
     },
     "total_token": 3422,
     "total_cost": 78,
     "total_duration": 3452
   },
   "conversation": [
     {
       "question": "q1",
       "prompt": "chat history  + system prompt",
       "answer": "a1",
       "token": 342,
       "duration": 32, latency !!!
    },
  ]
}

