mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 22:42:05 +00:00
community[patch]: docstrings (#16810)
- added missed docstrings - formated docstrings to the consistent form
This commit is contained in:
@@ -20,11 +20,15 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ref(BaseModel):
|
||||
"""Reference used in CharacterGLM."""
|
||||
|
||||
enable: bool = Field(True)
|
||||
search_query: str = Field("")
|
||||
|
||||
|
||||
class meta(BaseModel):
|
||||
"""Metadata used in CharacterGLM."""
|
||||
|
||||
user_info: str = Field("")
|
||||
bot_info: str = Field("")
|
||||
bot_name: str = Field("")
|
||||
|
Reference in New Issue
Block a user