Skip to content

a modular LangGraph project that calls LLMs via OpenRouter API and stores context-rich data in Pinecone using semantic embeddings.

Notifications You must be signed in to change notification settings

c4coder2000/prompt-refiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

# 🧠 Prompt Refiner β€” Modular LangGraph Workflow

Built with precision and curiosity, **Prompt Refiner** is a smart LangGraph-powered orchestration that refines user prompts using LLMs via OpenRouter API, augments responses through RAG, and stores semantic memory in Pinecone. It includes evaluation logic, human-in-the-loop edits, and a custom text-based knowledge loader.

---

## πŸ“¦ Project Overview

This repo showcases:

- πŸ”„ A full LangGraph pipeline with custom nodes.
- ✨ Prompt refinement using LLM completions.
- πŸ” Context retrieval via Pinecone embeddings.
- πŸ§‘β€πŸ’» Human-in-the-loop editing and response vetting.
- πŸ“Š Evaluation logic with pass/fail routing.
- 🧠 Memory sync for refined prompts.
- πŸ“ RAG-enabled augmentation using `hassnain_info.txt`.

---

## πŸ—ΊοΈ Workflow Summary

```text
User Input β†’ Preprocess β†’ Embed β†’ Retrieve β†’ Build Prompt β†’ LLM Refinement
β†’ Human Editor β†’ Evaluation β†’ Memory Sync / End

About

a modular LangGraph project that calls LLMs via OpenRouter API and stores context-rich data in Pinecone using semantic embeddings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages