arakoodev / EdgeChains

EdgeChains.js Typescript/Javascript production-friendly Generative AI. Based on Jsonnet. Works anywhere that Webassembly does. Prompts live declaratively & "outside code in config". Kubernetes & edge friendly. Compatible with OpenAI GPT, Gemini, Llama2, Anthropic, Mistral and others

Home Page:https://www.arakoo.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor PostgreSQLHistoryContextController for better readability

erzohrakhan opened this issue · comments

-Use constructor injection instead of field injection
-Chang @PostMapping annotation to @GetMapping and @PutMapping as per Rest principle