Misconfigurations account for 50%+ of Software Outages
Lekko solves these problems
In-Code Interface
Lekko wraps functions at build time to fetch updated versions at runtime. This decreases complexity with traceable code behavior.
Validate, Test, Prevent Issues
Lekko changes don't bypass unit tests, validation and CI which will prevent untested code from reaching your customers.
Group & Validate
Create approved configurations, then control who can deploy them to customers. Lekko’s Web UI lets developers hand off daily control to team members safely.
Adding dynamic behavior is as easy as merging code with your new function. Lekko will mirror the new function, and allows you modify it at runtime.
func getGenerationParams(plan string) *LlmConfig {
if plan == "enterprise" || plan == "team" {
return &LlmConfig{
Model: "openai-chatgpt4-o",
Temperature: 0.7,
TokenLimit: 8192,
}
}
return &LlmConfig{
Model: "openai-chatgpt3.5-turbo",
Temperature: 1.0,
TokenLimit: 4096,
}
}
export function getGenerationParams({ plan }: { plan: string }): LlmConfig {
if (plan === "enterprise" || plan === "team") {
return {
model: "openai-chatgpt4-0",
temperature: 0.7,
tokenLimit: 8192,
};
}
return {
model: "openai-chatgpt3.5-turbo",
temperature: 1.0,
tokenLimit: 4096,
};
}
// Whether to use experimental features or not
func getExperimentalEnabled(env string) bool {
if env == "staging" {
return true
}
return false
}
// Whether to use experimental features or not
func getExperimentalEnabled(env string) bool {
if env == "staging" {
return true
}
return false
}
Reconfigure your functions at runtime directly in your code or in our user friendly control panel. With our static analysis and AI to keep things safe, daily changes can be comfortably delegated.