Comments (5)
That should make the trick. Although, this setup won't help us to do telemetry tickets that are connected to instrumentation of the router workflows.
Good observation, I think your suggestion of having a placeholder provider for testing makes more sense. I will see what I can do with this.
from glide.
Hey @gernest Geoffrey 👋
requiring open api to start : As I mentioned I intended to work on setting up open telemetry for traces and metrics. I was surprised there was no way for me to just start the binary without and provider and then setup/teardown otel providers and have tests to verify it is working.
I was thinking about that in scope of end-to-end testing of the gateway. There is no way real providers are used there because of the cost implications. So I thought of:
- introducing a dummy provider (possibly hidden behind a build tag)
- Provider mock (#85)
Out of these three, I like your idea more because it's simple and as you pointed out it will pave out way to the database-on setup (Glide is databaseless at this moment but there is not way we can resist sharing common state between Glide nodes for a long time. I think Kong has two modes too. Not sure about Tyk).
why module glide instead of module github.com/EinStack/glide ?
Haha good question! I think this is out of ignorance. I have seen ppl calling their libs after git repos but would there be any benefits doing that for something like Glide that is an application not supposed to be exposed to anyone via imports?
I would still love to contribute, I currently can't afford these third party providers api's so I was hopping to help with everything else.
I can try to share keys with you if that helps. Just give me a sign what else would be interesting to touch that would require access to providers (I don't have access to absolutely all of them yet but we will figure that out) 👀
Speaking about telemetry, I could not even dream of someone else helping me with (thought I would be integrating alone), so I made a bunch of placeholder tickets "linked" to the main one: #19
Will try to go over them tom morning my time to fill them with some useful information.
from glide.
Haha good question! I think this is out of ignorance. I have seen ppl calling their libs after git repos but would there be any benefits doing that for something like Glide that is an application not supposed to be exposed to anyone via imports?
Not necessary , go install github.com/EinStack/glide@latest
can be used to install latest binary without the need for cloning and building.
I'm interested on those otel tickets.
Are going to handle making the router optional, or do you want help with it ? I'm fine either way, but there is nothing much I can do for now until this is addressed.
from glide.
random question, what is the story behind all these emoji ? I don't remember opening my ticket with emoji, Its hard to take a project seriously as I can't really understand what they mean.
from glide.
Are going to handle making the router optional, or do you want help with it ? I'm fine either way, but there is nothing much I can do for now until this is addressed.
@gernest yeah, I can leave it on you Geoffrey. In any case, we have a super simple workaround to keep you going without the no router setup thing in place. You can simply put invalid API key into the config like:
telemetry:
logging:
level: debug # debug, info, warn, error, fatal
encoding: console
routers:
language:
- id: default
models:
- id: openai
openai:
api_key: "geoffreySuperSecretKey"
That should make the trick. Although, this setup won't help us to do telemetry tickets that are connected to instrumentation of the router workflows.
Not necessary , go install github.com/EinStack/glide@latest can be used to install latest binary without the need for cloning and building.
Alright, yeah, we may want to have that. Binaries can be also installed via HomeBrew/Spancraft/Scoop(soon), so I'm too worry about missing that. But again, yeah that would nice to have. Moving that idea to a dedicated ticket (#228).
random question, what is the story behind all these emoji ? I don't remember opening my ticket with emoji, Its hard to take a project seriously as I can't really understand what they mean.
It's kind of nice to have these visual differentiations in Github Issue list and Git history, so we are using emojiis for that 😃
Here is a full list of emojiis with their meaning https://github.com/roma-glushko/gitmoji
This also helps a bit during changelog collection (as it's not yet automated).
from glide.
Related Issues (20)
- 🔧 [DevX] Use air to implement hot-reloads of Glide API HOT 1
- 🔧 [Telemetry] Allow to pass Glide resource attributes
- 🔧 [Telemetry] Instrument HTTP clients HOT 2
- ✨ Support tool calling in Glide HOT 1
- ✨ Support few-shot classification HOT 1
- 🔧 [Telemetry] Span & metrics exporting should be disabled by default HOT 6
- 👩⚖️ [License] Address issues with sse package HOT 2
- 👷 Setup Scoop for Windows binary distributions HOT 1
- ✨ Allow to use BYO API Keys
- ✨ Masking sensitive information in lang/emb requests HOT 1
- ✨ [Cost] Incoming Token Compression
- Allow to opt out from request/response message logging
- 🔧 Use ObjectPools for chat request/response schemas HOT 1
- 💥 Map message roles to unified roles HOT 3
- 🔧 Remove omitempty from the response schema HOT 2
- 🐛 [Streaming Chat] Improve error handling on bad chat request messages
- 🔧 Simplify logging setup HOT 2
- 🔒 Address CVE-2024-24790 HOT 2
- 📦 Release: 0.1.0-p.1
- Upgrade to Golang 1.22.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glide.