Feedback on 0.2 docs #21716
Replies: 11 comments 14 replies
-
Wonderful, I guess it would be better to have a more distinctive title for the tutorials menu in the more section like "3rd party tutorials" to distinguish it between (official) "tutorials" menu in the sidebar menu |
Beta Was this translation helpful? Give feedback.
-
I'd like to help with langchain documentation. What is the best way to determine where to focus my effort? Would it be to review the issues or just dig in and contribute where I feel there is the most need? I've not contributed to open source projects before so please forgive my ignorance. |
Beta Was this translation helpful? Give feedback.
-
When I exercise the demo with "Build a Chatbot->managing-conversation-history".
the source code is: def filter_messages(messages, k=10):
#here maked the messages start with AIMessage
return messages[-k:]
prompt = ChatPromptTemplate.from_messages(
[
(
"system",
"You are a helpful assistant. Answer all questions to the best of your ability in {language}.",
),
MessagesPlaceholder(variable_name="messages"),
]
)
chain = (
RunnablePassthrough.assign(messages=lambda x: filter_messages(x["messages"]))
| prompt
| chat
)
messages = [
HumanMessage(content="hi! I'm bob"),
AIMessage(content="hi!"),
HumanMessage(content="I like vanilla ice cream"),
AIMessage(content="nice"),
HumanMessage(content="whats 2 + 2"),
AIMessage(content="4"),
HumanMessage(content="thanks"),
AIMessage(content="no problem!"),
HumanMessage(content="having fun?"),
AIMessage(content="yes!"),
]
response = chain.invoke(
{
"messages": messages + [HumanMessage(content="what's my name?")],
"language": "English",
}
) |
Beta Was this translation helpful? Give feedback.
-
Hi, I was trying to reproduce the code in the documentation related to agents. However, in the section (https://python.langchain.com/v0.2/docs/tutorials/agents/#tools), when selecting the Firework-AI example, the Mixtral-8x7b-instruct model is used, but it does not seem to be able to call the tools. |
Beta Was this translation helpful? Give feedback.
-
Hi LangChain Team, I’ve had the pleasure of reviewing the 0.2 docs and I must say, I’m genuinely impressed! The implementation of versioning support is a significant advancement that greatly enhances the user experience. Additionally, the flattened structure has simplified navigation, making the documentation more user-friendly. Overall, fantastic work on the docs! Best, |
Beta Was this translation helpful? Give feedback.
-
@baskaryan I couldnt find any descriptive details about "ConversationSummaryBufferMemory" in the preview of the 0.2 docs. In 0.1 langchain memory classes are still in Beta. I have some issues with ConversationSummaryBufferMemory as I mentioned here. I just want to know if there is any fixes in 0.2. |
Beta Was this translation helpful? Give feedback.
-
i prefer the older structure, maybe due to my mental map of where things are. Are there plans of removing 0.1 docs soon? |
Beta Was this translation helpful? Give feedback.
-
🙏Diataxis! In the words of Steve Balmer: DEVELOPERS DEVELOPERS DEVELOPER DEVELOPERS DEVELOPERS |
Beta Was this translation helpful? Give feedback.
-
Just updated a few things related to search indexing and ranking. If you have feedback about nonsensical search results, or queries that you think should map to specific pages, I would love to hear them to fix! |
Beta Was this translation helpful? Give feedback.
-
It would be great to be able download the full documentation as 1 pdf file. Makes it easier for me to create context for a custom bot with RAG. |
Beta Was this translation helpful? Give feedback.
-
Thumbs up on working on code examples, they're great when available. Suggestion: Langchain integrates with many other technologies, I think it would be useful to comment on the relationship between "langchain language" and the "integrated technology language". Using Langchain_chroma as an example: |
Beta Was this translation helpful? Give feedback.
-
We're releasing LangChain 0.2 the week of 5/20/24 (see #21437), and a major part of this release is revamping our docs.
The high level changes to the docs are that we:
You can read a bit more about these changes in our 0.2 intro blog and see a preview of the 0.2 docs here.
We'd love your feedback on the 0.2 docs.
All of these changes have been informed by great feedback we've gotten on the existing docs, and we want to make sure that we're continuing to improve.
If you'd prefer to leave anonymous feedback, you can use this Google Form.
Beta Was this translation helpful? Give feedback.
All reactions