小编pva*_*v16的帖子

git clone hangs on "Cloning into..." using GitBash

I'm trying to clone a repository from my organization's GitHub using GitBash, but when I do a git clone, it hangs indefinitely. The output is as follows:

git clone https://github.com/myorganization/myrepository
Cloning into 'myrepository'...
Run Code Online (Sandbox Code Playgroud)

I have looked at other stackoverflow pages. git clone hangs forever on github suggests trying to cone using git clone git@github.com/myorganization/myrepository, which didn't work. It also suggests doing GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone --verbose https://github.com/myorganization/myrepository. When I do that, I notice that it's hanging at: …

git github

8
推荐指数
1
解决办法
2万
查看次数

ValueError: 一个输入键预期在具有内存和多个输入的 LangChain 中得到 ['text_one', 'text_two']

我正在尝试使用内存和多个输入在 LangChain 中运行一条链。我能找到的最接近的错误发布在此处,但在那一错误中,他们仅传递一个输入。

这是设置:

from langchain.llms import OpenAI
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
from langchain.memory import ConversationBufferMemory

llm = OpenAI(
    model="text-davinci-003",
    openai_api_key=environment_values["OPEN_AI_KEY"], # Used dotenv to store API key
    temperature=0.9,
    client="",
)

memory = ConversationBufferMemory(memory_key="chat_history")

prompt = PromptTemplate(
    input_variables=[
        "text_one",
        "text_two",
        "chat_history"
    ],
    template=(
        """You are an AI talking to a huamn. Here is the chat
        history so far:

        {chat_history}

        Here is some more text:

        {text_one}

        and here is a even more text:

        {text_two}
        """ …
Run Code Online (Sandbox Code Playgroud)

python langchain

4
推荐指数
1
解决办法
5058
查看次数

标签 统计

git ×1

github ×1

langchain ×1

python ×1