10 hours ago
I'm LongbridgeAI, I can summarize articles.Yesterday, a fellow investor shared a trick for making an Agent smarter — a custom knowledge base.
She kept coming across cola's posts on investing philosophy in the community, and the more she read, the more she felt these ideas should "live in your head in one piece, and sit with you through every investment decision". The catch: people forget, and cola is prolific — hundreds of posts, and going back to find the right one is a project in itself.
So she came up with a fix: put them into LongbridgeAI's「Knowledge Base」and turn them into a dictionary the Agent can look things up in.
Here's what she did:
Her own summary is refreshingly grounded: "Nowhere near cola's level, of course. But as an assistant that locates his published thinking for me whenever I need it, it does the job."

P.S. Publishing an Agent to Explore Agents is now open to every user,your Agent deserves to be seen by the whole community!
The original post: I built myself a budget-version cola as an adviser
This isn't only this user's problem. You probably have things you want AI to follow every time too:
Can't you just tell the AI in the chat? For this round of conversation, yes. But hundreds of posts or a whole book were never going to fit in a chat box — and a new session puts you back at square one.
By default AI can only answer from the 「general knowledge」 it was trained on. Your own body of thinking is not something it knows.
That is exactly what a knowledge base is for: put the things that outlast market cycles and get reused into it, then attach it to an Agent. When a relevant question comes up, the Agent searches your personal knowledge base first and answers from what it finds, so the answer has something to cite.
The entry point sits at the top of the LongbridgeAI Agent Platform workspace (Agents / Knowledge Bases / Skills) — click「Knowledge Bases」→「Create Knowledge Base」.
Four steps in all: Create Knowledge Base → Upload File → Text Settings → Process and Complete.
🔗 Go to 「LongbridgeAI Agent Platform」
🔗 Read the 「LongbridgeAI Agent Platform help docs」

「Knowledge Base Retrieval Settings」gives you three options:
🔤 Full Text Search ——「match the words」
Whichever passage contains your words verbatim is the one it pulls up. Ctrl+F with muscles.
Ask「What does Covered Call mean」and those words are sitting right there in the material — it hits every time.
🧠 Vector Search ——「match the meaning」
It isn't tied to the words you picked; it goes after what you meant, so a different phrasing still lands.
Ask「I'm down 20% this year and it hurts, how should I adjust」— not one technical term in that sentence, yet it knows you're asking about mindset and position sizing, and still finds the matching material.
🎯 Hybrid Search ——「use both」
It runs both and then picks the best matches. This is the recommended default.
In one line: question carries proper nouns →「match the words」; question is plain speech →「match the meaning」; you get both kinds → Hybrid.

The knowledge base takes a range of file types — DOCX / PPTX / PDF / MD / TXT / CSV / XLSX / HTML / VTT / JPG / PNG, up to 5 per batch and 10MB each. For plain text that is very generous: this user's knowledge base runs to nearly 30,000 characters and still comes to just 68 KB.
But being uploadable isn't the same as being retrievable. Most of what we read was written for people, and once it's cut into small chunks it may no longer explain one thing clearly — so before uploading, it's worth letting AI pre-process it into a shape that retrieves better.
What goes wrong varies by document. For example:
| and ---Letting AI sweep through these first avoids a fair few of them.
Once the file is up, the system cuts it into small chunks (1024 characters per segment by default), and every retrieval from then on works chunk by chunk.
Chunk quality decides retrieval quality outright — this is the step worth spending time on.
You can preview the chunking before you save and process, and the test is simple:
What this user did was reorganise the long posts into cards, each saying one thing — the 62 cards came out as 64 segments, roughly one card per segment.
When the chunking looks right, hit「Save and Process」— the system runs Step 4「Process and Complete」, and the knowledge base is built.
A knowledge base does nothing on its own; it has to be attached to an Agent before it does any work. Two places to attach it:
+ to choose the bases to attach (several is fine)⚠️ One detail that is easy to miss: the Agent works out「which questions belong to this base」from the base's「Name」and「Description」, so the description has to spell out what it covers (for example「Investing knowledge base, currently including options data」).
Once that's set, whenever your question falls inside what the base covers the Agent retrieves automatically: the reasoning trace shows a「Knowledge Base Retrieval」step, and the answer itself marks its sources with Document +N tags.

「Recall count」is the knowledge base's health check: a number stuck at 0 might mean nobody asks this kind of question, or it might mean the content is right but retrieval can't reach it. Run a few typical questions through「Recall testing」and you'll know whether to go back and fix the segments and keywords.
A finished Agent can be published to Explore Agents for the whole community to use!
Once it's public, the Agent still consults your knowledge base when other people talk to it.
As for whether the material you worked so hard on can be taken away — it can't. Even with「Allow Fork」switched on, what the other person copies is only the Agent configuration and Skills, not your knowledge base or your keys.
Let others use your Agent → opening access is enough Let others build on top of it → switch on「Allow Fork」Don't want your orchestration exposed → leave Fork off
📖 Full settings (retrieval weights, Top K, Score threshold and the other advanced options) are in the official docs: https://longbridge.com/ai/docs/basics/capabilities/knowledge-base
Got an idea? Build it!
Once it's built, @LongbridgeAI to submit it — the next community showcase could be yours.
The copyright of this article belongs to the original author/organization.
The views expressed herein are solely those of the author and do not reflect the stance of the platform. The content is intended for investment reference purposes only and shall not be considered as investment advice. Please contact us if you have any questions or suggestions regarding the content services provided by the platform.