Open prateek-1803 opened 1 month ago
seems interesting, I would like to work on it. Can you (@dansholds , @prateek-1803) please provide some more detail like where it going to implement. Is it specific for prompt engineering page (like for demonstration)? . and the changes in user interface.
What Roadmap is this project for?
Prompt Engineering
Project Difficulty
Intermediate
Add Project Details
You are required to create summarising chains using the LangChain framework.
To create summarisation chains in the LangChain framework, you can use the ChatOpenAI model alongside a well-crafted prompt.
Define the Prompt Template: Write a concise, focused prompt template to instruct the model on the type of summarisation you need. Initialise the ChatOpenAI LLM: Use LangChain's ChatOpenAI class, which provides access to the OpenAI language model for generating summaries. Run the Chain: Combine the prompt template and LLM into a summarisation chain, which allows you to run the summarisation process.