mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-19 21:33:31 -04:00
3b609642ae
Alternate implementation of #3452 that relies on a generic query constructor chain and language and then has vector store-specific translation layer. Still refactoring and updating examples but general structure is there and seems to work s well as #3452 on exampels --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
16 lines
303 B
Python
16 lines
303 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class AttributeInfo(BaseModel):
|
|
"""Information about a data source attribute."""
|
|
|
|
name: str
|
|
description: str
|
|
type: str
|
|
|
|
class Config:
|
|
"""Configuration for this pydantic object."""
|
|
|
|
arbitrary_types_allowed = True
|
|
frozen = True
|