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

check to use the previous summary or not. #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sayakpaul
Copy link
Collaborator

@deep-diver is this what you were envisioning?

@sayakpaul sayakpaul requested a review from deep-diver February 20, 2025 12:04
app.py Outdated
response = await client.models.generate_content(
model=args.model,
contents=[
Template(
prompt_tmpl['summarization']['prompt']
).safe_substitute(
previous_summary=state['summary'],
previous_summary=state['summary'] if use_generated_summaries else "No previous summary",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this line needs to be changed.
Instead, we need to change line number 61 because we want to see how the model's response changes based on the summary or the entire conversation.

@sayakpaul sayakpaul marked this pull request as ready for review February 25, 2025 04:22
@sayakpaul
Copy link
Collaborator Author

@deep-diver can you give it a look again and test? Take your time.

@sayakpaul sayakpaul requested a review from deep-diver February 25, 2025 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants