Commit Graph

7 Commits

Author SHA1 Message Date
positiveblue
6700d01b39 aperturedb: add support for postgres/sqlite 2023-06-14 21:44:17 -07:00
Olaoluwa Osuntokun
520e40dedc build: properly add check-rest-annotations.sh
The builds fails otherwise. The Makefile has also been modified to use
the proper path here.
2023-06-14 20:13:12 -05:00
Olaoluwa Osuntokun
c396ca51b7 prices: rename proto file to prices.proto
This fixes a registration conflict with the set of etcd protos.
2023-06-13 20:43:18 -05:00
Olaoluwa Osuntokun
3a5dd96a95 pricesrpc: add http_request_text to GetPrice
In this commit, we add the http_request_text to the `GetPrice` RPC call.
This'll contain the fully serialized HTTP request, which'll permit the
back end to check things like the set of headers or request body, which
may be useful in more fine grained pricing functions.

One example is: when proxying requests to an LLM platform provider, the
backed may want to charge more based on the length of the
context/message and/or which model is being used.
2023-06-13 20:43:12 -05:00
Olaoluwa Osuntokun
e8fa845478 pricesrpc: run new proto generation script for pricesrpc 2023-06-13 20:43:10 -05:00
Olaoluwa Osuntokun
1fbafb04f9 build: add proto generation script for pricesrpc and CI integration 2023-06-13 20:43:07 -05:00
Elle Mouton
c0ade3d4c9 pricesrpc: add pricesrpc package
This commit adds the proto definitions along with the generated proto
files for a prices service that can be used to request the price of a
specific path.
2021-08-03 14:25:45 +02:00