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

Added top_n attribute to TextQueryTask #635

Merged

Conversation

igor-2lemetry
Copy link
Contributor

Closes #634

Copy link
Member

@andrewfrench andrewfrench left a comment

Choose a reason for hiding this comment

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

Thanks @igor-2lemetry! One small change to make our type checker happy.

griptape/tasks/text_query_task.py Show resolved Hide resolved
@andrewfrench andrewfrench merged commit b741479 into griptape-ai:dev Feb 6, 2024
6 checks passed
@collindutter
Copy link
Member

@andrewfrench i'm actually still getting the top_n pyright error, was the test passing when you merged?

@collindutter collindutter mentioned this pull request Feb 7, 2024
@andrewfrench
Copy link
Member

@collindutter it was, but that may be because we were only checking changed files and the blast radius exceeds that. I'll take a look.

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.

Allow to set top_n in query_engine.query in TextQueryTask like in VectorStoreClient tool.
3 participants