LLMRequestsChain (#267)

This commit is contained in:
Harrison Chase
2022-12-06 21:55:02 -08:00
committed by GitHub
parent 68666d6a22
commit 28be37f470
8 changed files with 247 additions and 43 deletions

View File

@@ -5,8 +5,9 @@ import json
import pytest
from langchain import LLMChain
from langchain.chains.api.base import APIChain, RequestsWrapper
from langchain.chains.api.base import APIChain
from langchain.chains.api.prompt import API_RESPONSE_PROMPT, API_URL_PROMPT
from langchain.requests import RequestsWrapper
from tests.unit_tests.llms.fake_llm import FakeLLM