langchain
langchain copied to clipboard
Tutorial for langchain LLM library
from langchain.llms import GooglePalm api_key = 'add your api please' llm = GooglePalm(google_api_key=api_key, temperature=0.2) llm("write a poem on dhosa") NotFound: 404 Requested entity was not found.
Whe i run "pip3 install -r requirements.txt " it throws error "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions,...
Error loading FAISS index: Incorrect API key provided: sk-nVfMU***************************************lYcU. You can find your API key at https://platform.openai.com/account/api-keys. 
new_vec is not defined in index.search function changed it into encoded vector svec