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

Feat: subquery generator #10

Merged
merged 16 commits into from
Jan 8, 2024
Merged

Feat: subquery generator #10

merged 16 commits into from
Jan 8, 2024

Conversation

amindadgar
Copy link
Member

In this PR we're aiming to include the subquery generator for just the discord platform. (There's no use-case for this but including more platforms in the near future will make it useful)

@amindadgar amindadgar changed the base branch from main to feat/init-bot January 2, 2024 07:07
@amindadgar amindadgar requested a review from TjitsevdM January 2, 2024 09:43
@amindadgar amindadgar linked an issue Jan 2, 2024 that may be closed by this pull request
subquery.py Outdated Show resolved Hide resolved
Copy link

@TjitsevdM TjitsevdM left a comment

Choose a reason for hiding this comment

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

Looks good! I suggested an adjustment to the description of the discord retriever. For the rest, my only comment relates to your message at the beginning of this PR. Even with only discord integrated, the subquery generator is already useful since it can split complex user requests into multiple easier requests.

- We needed to apply the cohere embedding model in our codes.
- The `subquery.py` updated based on little experiments (both embedding model and function output updated).
We have added the custom embed model support in its newer version.
@amindadgar amindadgar requested a review from TjitsevdM January 4, 2024 13:17
we updated the library to the newest right version and we're chosed the right LLM for the guidance.
note: the guidance_llm would create the subqueries.
@cyri113 cyri113 merged commit b9a4d47 into feat/init-bot Jan 8, 2024
16 checks passed
@amindadgar amindadgar deleted the feat/subquery-generator branch January 8, 2024 13:41
@amindadgar amindadgar linked an issue Jan 9, 2024 that may be closed by this pull request
3 tasks
@amindadgar amindadgar linked an issue Jan 25, 2024 that may be closed by this pull request
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.

Defining Hivemind Subquery and routing tasks (Hivemind card 3c) Define celery tasks
3 participants