Skip to content

Conversation

@nfcampos
Copy link
Collaborator

No description provided.

…ustom CodeBlock component

- Loader lists all langchain objects used in the example, and finds the path to its reference docs
- CodeBlock component renders a card containing links to the reference doc of each
@vercel
Copy link

vercel bot commented Apr 18, 2023

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

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Apr 18, 2023 5:54pm

@@ -0,0 +1,34 @@
diff --git a/dist/support/helpers.js b/dist/support/helpers.js
index 4346548126fcf7e3687f243ee53fd0456778c29c..73cefe121e927285d305d57e89f3c87f8d2fe289 100644
--- a/dist/support/helpers.js
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Had to patch the dependency that generates the api docs 😿

@@ -1,6 +1,6 @@
# Welcome to LangChain

LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call out to a language model via an api, but will also:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Took this opportunity to clean this one up and add more links throughout

import { Document } from "langchain/document";
import { OpenAIEmbeddings } from "langchain/embeddings";
import { OpenSearchVectorStore } from "langchain/vectorstores";
import { OpenAIEmbeddings } from "langchain/embeddings/openai";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These ones had been missed before


LangChain offers a number of Chat Models implementations that integrate with various model providers. These are:

## `OpenAI`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to do this in lots of other places

Copy link
Collaborator

@agola11 agola11 left a comment

Choose a reason for hiding this comment

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

Looked at the deployed docs and looks good, main question is around the changes to the model input interfaces / why those are needed here?

@nfcampos nfcampos merged commit 24ce289 into main Apr 18, 2023
@nfcampos nfcampos deleted the nc/reference-docs-v2 branch April 18, 2023 18:09
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