CIRED / CIRED/cired.digital

Review cost calculation

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Update since we now use the streaming API

The cost comprizes two components:
- Retrieval -> Depends on the R2R server time cost * duration for vanilla retrieval. For complex retrieval there are token costs too -- at this stage just estimate them.
- Generation -> Depends on tokens in, tokens out and the LLM costs. Here we compare two options: actual API and hypothetical self-hosted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.