langchainjs
langchainjs copied to clipboard
This is to be able to easily implement remote caches, eg. redis
Related to: https://github.com/hwchase17/langchain/issues/1260 ## Problem The default embeddings (e.g. Ada-002 from OpenAI, etc) are great **_generalists_**. However, they are not **_tailored_** for **your** specific use-case. ### Use Case Write a...
https://supabase.com/blog/openai-embeddings-postgres-vector#building-a-simple-search-function
something like: ``` const model = new OpenAI( {}, { ...HeliconeOptions({ propertySession: "24", propertyConversation: "support_issue_2", propertyApp: "mobile", cacheEnabled: false }), otherAxiosConfigurationOption: "value" } ) ```
There are few things that can be improved in the integration: - [ ] Add tests - this will require mocking the chroma backend responses to have any value and...
This PR adds a very basic calendar tool and question-answering chain. See docs for details.
https://github.com/replicate/replicate-js simple way to call open source models from JS
References https://github.com/hwchase17/langchain/blob/master/langchain/llms/openai.py#L321 to implement the missing logic described in the comment. Passing -1 will calculate the max tokens dynamically. Only done for the openai basic LLM. (the new chat one...
Needs better names! And a bunch of other things