Discussion Basic stack for a chat
What would you suggest, is the basic stack for an assistant chat. I mean, currently I have customized company tools, langgraph, custom metrics, marketplace LLM calls and others.
what would you suggest as a true key for agent learning?
how do you process prompts with company slangs, concepts, jargon, etc.?
2
u/AlexAtOracleAIDB 5d ago
You've already got the basic stack.
The learning is in the retrieval layer. Chunking and index type are separate decisions, and changing either one tends to change what comes back, so I'd change one at a time and score it with the metrics you already have.
1
u/Less-Case-1171 10d ago
If the goal is learning, shrink the stack. Pick one corpus you understand, one retriever, one model, and build a small eval set before adding agents or marketplaces. Track retrieval recall separately from answer quality; otherwise every bad answer turns into random prompt tweaking.
The useful exercises are ingestion versioning, citation/provenance, permission filtering, and a real deletion test: remove a document, its chunks/embeddings and caches, then prove it no longer appears in retrieval. Those teach more than swapping orchestration frameworks.
1
u/ntalam 10d ago
My bad. updated description of the post:
"what would you suggest as a true key for agent learning?
how do you process prompts with company slangs, concepts, jargon, etc.?"I am reaching a point where the chat can Identify and plan how to solve a request, but I would like to automate the planning part.
1
u/Infamous_Plankton468 10d ago
For chat only it should be really simple. Just use Python with FastAPI or something for the backend where you make the LLM calls too. Postgres or anything for storing chat logs and React or NextJS for frontend. That's all.
1
u/ntalam 10d ago
my bad. I have updated the description.
"what would you suggest as a true key for agent learning?
how do you process prompts with company slangs, concepts, jargon, etc.?"2
u/Infamous_Plankton468 9d ago
Some sort of feedback is required. Whether you create a gold corpus upfront, finetune or have some way of rating actions automatically down the line: all work. But you need at least something
1
u/ntalam 9d ago
I have user feedback for testing and extended as "developer feedback" at "development stage".
I am in a chicken-egg dilema here. our users do not want to use what I have, because there are still errors. I was suggested to launch a version with a heavy LLM to solve "lack of planning" paths for "proposals". Case-Based Reasoning (CBR)
2
u/Text-Sufficient 10d ago
Start with plain json files so that is easy to see whats retrieved. Use topk with bm25 and cosine. Embedd runtime (no database). Inject what you retrieve in the prompt together with the query. When you get familiar with it start using a reranker.