🧠 New Blog Post

Vis-network is a JavaScript library for generating interactive network visualizations, with real-time physic, and advanced styling options. Recently I used it to build an interactive knowledge graph of my blog, which gained a lot of interest on LinkedIn, so I decided to write up a tutorial on how to build your own.

🤖 AI & Dev Tools

No matter which LLM/provider you choose, they all have their context window and token limits. Providing proper context without flooding the context window is a delicate balancing act. More context isn’t always better— it can lead to hallucinations and burns through more tokens.

Memori solves this by adding a memory layer that automatically manages what to store and retrieve, giving your assistants and agents a human-like memory for more accurate and personalized responses. And it takes only a few lines of code to integrate with your existing stack. Oh, and it’s open source!

💡Tips & Tricks

Speaking of memory, in Claude Code you can make it remember across sessions using the # symbol before the prompt.

Claude will ask you where you want to save the memory. You can save it to a single project, or to your user profile.

Project memory will work across all sessions, anytime you work on that one project. And User memory applies to all projects.

📺 Video Content

Agents and AI chats are only as good as their data, or context, allows them to be. And while most foundation models are trained on enough data to answer general financial questions, they aren’t current or reliable enough to trust for investment research.

To build a truly reliable investment agent, you need certain functions to be deterministic and repeatable, pulling data from reliable sources. This webinar demos an Appsmith agent using the SEC API and Weaviate’s vector storage to build an investment agent with reliable and accurate memories based on your searches.

👥 Community Picks

Chrome will soon ship with built-in AI that runs in your browser, without sending data to a 3rd party API. It’s build using Gemini Nano, a multimodal model optimized to run on low-power devices.

In this guide, Raymond Camden shows how to use the new window.Rewriter API to optimize prompts locally before sending off to a 3rd party API, resulting in less token usage and lower cost.

📚 From the Archives

SWAPI, the Star Wars API- is a great resource for hobby projects when you just need a quick datasource and some mock data for your app. Earlier this year for Star Wars Day, I used it to generate a knowledge graph showing how characters, planets and species are all related throughout the first three films.

Thanks for reading!

If you enjoy this newsletter, please share it with others in your network. Got a question or comment? Login at news.greenflux.us to share your thoughts.

Reply

or to participate

Keep Reading

No posts found