Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update some parts of Functions, Tools and Agents with LangChain #161

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

Beyondzjl
Copy link
Contributor

  1. 导入OpenAI的方式发生了变化:from langchain_openai import ChatOpenAI
  2. ChatCompletion的调用方式发生变化:response = client.chat.completions.create(
    model="xx",
    messages = [
    {
    "role": "user",
    "content": "北京的天气怎么样?使用摄氏度作为单位。"
    }],
    functions=functions # 传入function参数
    )

SQ-AMD and others added 30 commits June 3, 2024 22:45
为 LLM 应用预处理非结构化数据

曾浩龙:3. 规范化内容 Normalizing the Content
…s/3. 规范化内容 Normalizing the Content.ipynb
…s/3. 规范化内容 Normalizing the Content.ipynb
3. 规范化内容 Normalizing the Content
…s/3. 规范化内容 Normalizing the Content.ipynb
3. 规范化内容 Normalizing the Content
为 LLM 应用预处理非结构化数据
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants