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

PromptTemplate update documentation and expand kwarg #8423

Merged
merged 2 commits into from Jul 28, 2023

Conversation

eyurtsev
Copy link
Collaborator

PromptTemplate

  • Update documentation to highlight the classmethod for instantiating a prompt template.
  • Expand kwargs in the classmethod to make parameters easier to discover

This PR got reverted here: https://github.com/langchain-ai/langchain/pull/8395/files

Unit tests got coupled due to slight change in serialization of prompt templates.

@dosubot dosubot bot added the 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder label Jul 28, 2023
@vercel
Copy link

vercel bot commented Jul 28, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jul 28, 2023 4:13pm

@eyurtsev eyurtsev merged commit 06bdbe0 into master Jul 28, 2023
23 checks passed
@eyurtsev eyurtsev deleted the eugene/update_prompt_docs branch July 28, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants