Skip to content

Creating a text summarising chains #7581

Closed as not planned
Closed as not planned
@prateek-1803

Description

@prateek-1803

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    projectProject request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions