mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 05:45:01 +00:00
Harrison/scene xplain (#7228)
Co-authored-by: Kevin Pham <37129444+deoxykev@users.noreply.github.com>
This commit is contained in:
parent
d6541da161
commit
0dc700eebf
@ -24,9 +24,7 @@ class SceneXplainAPIWrapper(BaseSettings, BaseModel):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
scenex_api_key: str = Field(..., env="SCENEX_API_KEY")
|
scenex_api_key: str = Field(..., env="SCENEX_API_KEY")
|
||||||
scenex_api_url: str = (
|
scenex_api_url: str = "https://api.scenex.jina.ai/v1/describe"
|
||||||
"https://us-central1-causal-diffusion.cloudfunctions.net/describe"
|
|
||||||
)
|
|
||||||
|
|
||||||
def _describe_image(self, image: str) -> str:
|
def _describe_image(self, image: str) -> str:
|
||||||
headers = {
|
headers = {
|
||||||
|
Loading…
Reference in New Issue
Block a user