Skip to content

Conversation

@stavsap
Copy link
Contributor

@stavsap stavsap commented Jul 5, 2023

add an ability for textgen llm to work with preset provided by text gen webui API.

@hwchase17, @baskaryan

@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2023 6:28am

@vercel vercel bot temporarily deployed to Preview July 5, 2023 12:22 Inactive
if self.preset is None:
params = self._default_params
else:
params = {"preset": self.preset}
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldnt this still use self._default params?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it will use the preset defined in textgen, no need for additional params. all this params are defined in the preset.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hwchase17 is all the checks must pass? when it will be merged?

@hwchase17 hwchase17 added the lgtm label Jul 5, 2023
@vercel vercel bot temporarily deployed to Preview July 7, 2023 06:28 Inactive
@baskaryan baskaryan merged commit 8d961b9 into langchain-ai:master Jul 7, 2023
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.

3 participants