Replies: 1 comment 2 replies
-
The issue you're encountering with api_domains = ["http://www.example.com"] Then, pass chain = APIChain.from_llm_and_api_docs(
llm,
salesDocs.TREND_DATA_DOCS,
headers=headers,
api_url_prompt=promptUrl.API_URL_PROMPT,
api_response_prompt=promptUrl.API_RESPONSE_PROMPT,
limit_to_domains=api_domains,
) This adjustment ensures that the domain check is performed correctly against the list of allowed domains. Regarding your question about the interface address, the Sources
|
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
Error reported when using APIChain.from_llm.and-api_docs is not in the allowed domains。
Why is the inference process requesting an interface together instead of a separate interface address requesting an interface ?
build API URL:
from
: llmstart_time
: 20230521end_time
: 20230726field
: sales_amountdate_type
: 3get_type
: 1The complete API URL will be as follows:
This URL will be used to obtain comprehensive trend analysis of sales within the specified date range, including current period data, month on month, and year-on-year data。 is not in the allowed domains: ['http://www.example.com/']
System Info
System Information
Package Information
Packages not installed (Not Necessarily a Problem)
The following packages were not found:
Beta Was this translation helpful? Give feedback.
All reactions