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

Bugfix/duplicated prompt in response #613

Merged
merged 4 commits into from
Jun 18, 2024

Conversation

jamesrichards4
Copy link
Contributor

@jamesrichards4 jamesrichards4 commented Jun 18, 2024

Context

We create some of our dependencies every request. This moves the semantic routes resources to be singletons but still allows overriding in tests
We also return the prompt in our streamed responses

Changes proposed in this pull request

Use atsream chains in chat path function to make consuming llm responses simpler, we don't return the prompt and response now
Made the semantic route dependencies singletons

Guidance to review

these could be two PRs if we want? There's a branch with just the semantic routes dependency work

Relevant links

Things to check

Copy link
Collaborator

@gecBurton gecBurton left a comment

Choose a reason for hiding this comment

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

LGTM pending IRL tests on dev and integrations tests

@jamesrichards4 jamesrichards4 merged commit d8592bc into main Jun 18, 2024
9 checks passed
@gecBurton gecBurton deleted the bugfix/duplicated-prompt-in-response branch October 29, 2024 15:47
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