According to the docs there is more than ChatOpenAi model only --> ChatAnthropic etc...
What was removed:
"Note: Currently, the only chat-based model we support is ChatOpenAI (with gpt-4 and gpt-3.5-turbo), but anticipate adding more in the future."
* added options for multi chains
* changed examples
* moved multi ret qa and multi prompt fromRetrievers and fromPrompts to inside the function
* Deprecate old MultiRetrievalQAChain and MultiPromptChain factory methods
---------
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
* wip figma file loader
* add figma env to .env.sample
* update FigmaFile ts
* fix format
* add figma to entry-points
* add figma doc and example
* include figma files in .gitignore
* add figma to tsconfig.json
* little refactor
* rename md to mdx
* add FIGMA_ACCESS_TOKEN to .env.example
* update figma example and int test
* Update Figma loader args, test case, examples, and docs
---------
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
* Google Vertex AI Chat model
* Simplify Google Vertex AI chat class, use more LangChain conventions
* Adds chat_models/googlevertexai to optional dependencies
* Fix example, fix build
* Clarify docs
* Formatting
* Docs styling
---------
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
* adding initial API chain code
* lint fix
* add docs and example
* Update file structure, move around parameters and TS types
* Slightly shorten APIChain example for consistency
---------
Co-authored-by: Larry Anderson <larryboymi@hotmail.com>
* installed @upstash/redis
* updating .env.example with upstash redis vars
* feat: created RedisUpstashChatMessageHistory based on RedisChatMessageHistory
* test: adding tests based on redis tests
* docs: adding docs with examples for upstash redis
* adding @upstash/redis as examples dependency
* adding stores/message/redis_upstash to langchain .gitignore
* adding stores/message/redis_upstash to langchain package.json files, peerDependenciesMeta and exports
* adding stores/message/redis_upstash to langchain tsconfig.json
* adding stores/message/redis_upstash to create-entrypoint.js
* adding @upstash/redis to examples yarn.lock
* moving @upstash/redis peerDependenciesMeta to correct order
* updating main yarn.lock with @upstash/redis
* lint: adding missing semicolon to import
* adding eslint-disable lines to redis_upstash int test file
* moving typedocOptions redis_upstash to the correct place
* docs: improvements to redis_upstash docs
* Change Upstash Redis naming, update docs
* Fix Upstash Redis constructor config types
---------
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
* Added google custom search as a tool
* Google Custom Search API tool docs, test, small parameter change
* Make Google custom search tool read from environment variables if possible, change param names
* Fix typo
---------
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
* Fix type definition of an array
* Impement GoogleVertexAIEmbeddings
* GoogleVertexAIEmbeddings documentation and examples
* Create entrypoints, minor renaming and docs update
* Make response nullable for more graceful failures
* Format
---------
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
* Use sitemap to properly load all paths
Gitbook's server-side rendering means that when we fetch the contents of the index page
the sub-menu items are not rendered and thus are invisible to $('nav a').
This patch makes the loader use sitemap.xml which has an index of all pages.
Inspired by the Python version.
* Fix lint issues
* Fix the logic
* Add the integration test provided by jacoblee93
* Fix loading the docs
* Fix formatting