Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a text summarising chains #7581

Open
prateek-1803 opened this issue Oct 25, 2024 · 1 comment
Open

Creating a text summarising chains #7581

prateek-1803 opened this issue Oct 25, 2024 · 1 comment
Labels
project Project request

Comments

@prateek-1803
Copy link

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.

@dansholds dansholds added the project Project request label Oct 26, 2024
@Naveen-Pal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project Project request
Projects
None yet
Development

No branches or pull requests

3 participants