Harrison/llm integrations (#1039)

Co-authored-by: jped <jonathanped@gmail.com>
Co-authored-by: Justin Torre <justintorre75@gmail.com>
Co-authored-by: Ivan Vendrov <ivan@anthropic.com>
This commit is contained in:
Harrison Chase
2023-02-13 22:06:25 -08:00
committed by GitHub
parent ec727bf166
commit 88bebb4caa
13 changed files with 348 additions and 37 deletions

View File

@@ -24,6 +24,9 @@ The following use cases require specific installs and api keys:
- _CerebriumAI_:
- Install requirements with `pip install cerebrium`
- Get a Cerebrium api key and either set it as an environment variable (`CEREBRIUMAI_API_KEY`) or pass it to the LLM constructor as `cerebriumai_api_key`.
- _PromptLayer_:
- Install requirements with `pip install promptlayer` (be sure to be on version 0.1.62 or higher)
- Get an API key from [promptlayer.com](http://www.promptlayer.com) and set it using `promptlayer.api_key=<API KEY>`
- _SerpAPI_:
- Install requirements with `pip install google-search-results`
- Get a SerpAPI api key and either set it as an environment variable (`SERPAPI_API_KEY`) or pass it to the LLM constructor as `serpapi_api_key`.