How to overwrite default methods like invoke,stream_log etc. #495
Answered
by
eyurtsev
raksrivastava
asked this question in
Q&A
-
The rag-opensearch package is currently set to utilize OpenAI by default. However, I intend to switch it to Bedrock LLM and integrate AWS OpenSearch instead. Could you guide me on how to override the default methods such as invoke and stream_log to achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
eyurtsev
Feb 28, 2024
Replies: 1 comment
-
Chat models all share the same interface in LangChain -- I am not sure why overwriting the default methods is necessary |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
eyurtsev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chat models all share the same interface in LangChain -- I am not sure why overwriting the default methods is necessary