Giter Site home page Giter Site logo

Comments (3)

Frrrrrrrrank avatar Frrrrrrrrank commented on June 23, 2024

您所使用的是langchain版本是吗?
如果您的简历内容过多,可以尝试修改以下代码:

def get_text_chunks(text):
    text_splitter = CharacterTextSplitter(
        separator="\n",
        chunk_size=2000,
        chunk_overlap=200,
        length_function=len
    )
    chunks = text_splitter.split_text(text)

将chunk_size的值调小,比如500,chunk_overlap在我看来保持在20-50即可

from auto_job__find__chatgpt__rpa.

Kwaiyu avatar Kwaiyu commented on June 23, 2024

您所使用的是langchain版本是吗? 如果您的简历内容过多,可以尝试修改以下代码:

def get_text_chunks(text):
    text_splitter = CharacterTextSplitter(
        separator="\n",
        chunk_size=2000,
        chunk_overlap=200,
        length_function=len
    )
    chunks = text_splitter.split_text(text)

将chunk_size的值调小,比如500,chunk_overlap在我看来保持在20-50即可

OK,感谢大佬!用langchain版本这个方法有效,但遇到了新的问题,投了两个岗位后停止运行,输出一堆HTML。

改用assistant方式运行,扫码登录后一直卡在登录后网页不动,控制台只输出了OpenAI version is compatible.

from auto_job__find__chatgpt__rpa.

Frrrrrrrrank avatar Frrrrrrrrank commented on June 23, 2024

langchain版本我没有深度测试过,你说的问题我没遇到过,你可以把输出的内容给我看看我排查一下

如果控制台只输出了OpenAI version is compatible,那么应该是网络的问题,这时候应该是在创建assistant,如果你没看到assisatant_id.json的话,那就是没有创建代理成功,只能多等一会了...或者优化一下网络

from auto_job__find__chatgpt__rpa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.