Create Langchain LLM converter to quickly supply it to Langchain's chain (#102)
* Create Langchain LLM converter to quickly supply it to Langchain's chain * Clean up
This commit is contained in:
committed by
GitHub
parent
da0ac1d69f
commit
0e30dcbb06
@@ -45,6 +45,9 @@ class LCCompletionMixin:
|
||||
logits=[],
|
||||
)
|
||||
|
||||
def to_langchain_format(self):
|
||||
return self._obj
|
||||
|
||||
def __repr__(self):
|
||||
kwargs = []
|
||||
for key, value_obj in self._kwargs.items():
|
||||
|
Reference in New Issue
Block a user