Skip to content

feat(llm): record token cost & qps#72

Merged
imbajin merged 15 commits intoapache:mainfrom
ChenZiHong-Gavin:record-cost
Aug 30, 2024
Merged

feat(llm): record token cost & qps#72
imbajin merged 15 commits intoapache:mainfrom
ChenZiHong-Gavin:record-cost

Conversation

@ChenZiHong-Gavin
Copy link
Copy Markdown
Collaborator

@ChenZiHong-Gavin ChenZiHong-Gavin commented Aug 23, 2024

Using decorator way to record LLM token & time cost

TODO: handle QPS in another PR

@github-actions github-actions Bot added the llm label Aug 23, 2024
@ChenZiHong-Gavin ChenZiHong-Gavin marked this pull request as ready for review August 27, 2024 18:05
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Aug 27, 2024
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 29, 2024
@ChenZiHong-Gavin
Copy link
Copy Markdown
Collaborator Author

Update rag answer api after #71

@imbajin imbajin merged commit aac82c0 into apache:main Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request llm size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants