Skip to content

Conversation

@lgabs
Copy link
Collaborator

@lgabs lgabs commented Nov 25, 2023

An example from terminal would be:

INFO:     Application startup complete.
2023-11-25 11:39:48,707 - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 200 OK"


> Entering new LLMChain chain...
Prompt after formatting:
...
Human: até quando posso cancelar minha passagem?
2023-11-25 11:40:19,401 - INFO - HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

> Finished chain.
2023-11-25 11:40:19,434 - INFO - Request processing time for chat_id af407e24aa69405eac1c7e9f0209006e: 0:00:31.507719

fixed: #53

@lgabs lgabs changed the title add simple logging Nov 25, 2023
Copy link
Member

@avelino avelino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@avelino avelino requested review from vmesel and walison17 November 25, 2023 14:56
@vmesel vmesel merged commit acae909 into talkdai:main Nov 25, 2023
@lgabs lgabs deleted the luan/simple-answer-time-logging branch April 30, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants