Issue: LangChainDeprecationWarning: The function `__call__` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use invoke instead.   warn_deprecated(
Labels: name: auto:question, name: area: models

### Issue you'd like to raise.

Everything was working fine but now suddenly I'm receiving all sorts of LangChain Deprecation issues.
I installed the langchain_openai package and also installed langchain_community package too and replaced all the imports with the suggested ones in the error. It went well but now I'm stuck at this issue

The error is:
`/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages/langchain_core/_api/deprecation.py:115: LangChainDeprecationWarning: The function `__call__` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use invoke instead.
  warn_deprecated(`

In my code I've replaced all "run" to "invoke" but don't know why this warning is coming up.
I'm also using a LangChain Summarizer and I checked the documentation and it's exactly the way it is in the documentation.
I don't know how to get rid of that deprecation warning now. I don't want to suppress the warning, I want to resolve it so it won't cause any issue in the future.

**This is the only code that I've related to LangChain:**
``` 
# Langchain Libraries
from langchain_openai import ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain.chains import LLMChain
from langchain.docstore.document import Document
from langchain_community.callbacks import get_openai_callback
from langchain.text_splitter import TokenTextSplitter
from langchain.chains.summarize import load_summarize_chain
from langchain_core.output_parsers import StrOutputParser

   # ------------------------------------------------------------
    # General ChatGPT function that's required for all the Call-type Prompts 
    def chatgpt_function(prompt, transcript):
        model_kwargs={"seed":235, "top_p":0.01}
        llm = ChatOpenAI(model_name='gpt-3.5-turbo', temperature=0, model_kwargs=model_kwargs, max_tokens=tokens)
        template = """
        {prompt}

        Call Transcript: ```{text}```
        """
        prompt_main = PromptTemplate(
              input_variables=["prompt", "text"],
              template=template,)

        with get_openai_callback() as cb:
#             llm_chain = LLMChain(llm=llm, prompt=prompt_main)
            output_parser = StrOutputParser()
            llm_chain = prompt_main | llm | output_parser
            all_text = str(template) + str(prompt) + str(transcript)
            threshold = (llm.get_num_tokens(text=all_text) + tokens)
#             print("Total Tokens:",threshold)
            if int(threshold) <= 4000:
                chatgpt_output = llm_chain.invoke({"prompt":prompt, "text":transcript})
            else:
                transcript_ = token_limiter(transcript)
                chatgpt_output = llm_chain.invoke({"prompt":prompt, "text":transcript_})
        return chatgpt_output

    # -------------------------------------------------------
    # Function to get refined summary if Transcript is long
    def token_limiter(transcript):
        text_splitter = TokenTextSplitter(chunk_size=3000, chunk_overlap=200)
        texts = text_splitter.split_text(transcript)
        docs = [Document(page_content=text) for text in texts]

        question_prompt_template = """
        I'm providing you a call transcript refined summary enclosed in triple backticks. summarize it furter.

        Call Transcript: ```{text}```

        Provide me a summary transcript. do not add add any title/ heading like summary or anything else. just give summary text.
        """

        question_prompt = PromptTemplate(
            template=question_prompt_template, input_variables=["text"]
        )

        refine_prompt_template = """
        Write a summary of the following text enclosed in triple backticks (```).

        ```{text}```

        """

        refine_prompt = PromptTemplate(
            template=refine_prompt_template, input_variables=["text"]
        )

        llm = ChatOpenAI(model_name='gpt-3.5-turbo', temperature=0, max_tokens=800)
        refine_chain = load_summarize_chain(
            llm,
            chain_type="refine",
            question_prompt=question_prompt,
            refine_prompt=refine_prompt,
            return_intermediate_steps=True,
        )

        summary_refine = refine_chain({"input_documents": docs}, return_only_outputs=True)
        return summary_refine['output_text']```

### Suggestion:

Please let me know what I need to change in my code to get rid of that Deprecation warning. Thank you