Giter Club home page Giter Club logo

Comments (3)

umesh070 avatar umesh070 commented on June 14, 2024

INFO|get_blog_category.py:29:get_blog_categories| Generating blog categories for the given blog.
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:10<00:00, 1.00s/it]
2024-03-26 23:42:49,091-INFO-_client-1013-HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 404 Not Found"
INFO|get_blog_metadata.py:24:blog_metadata| Generated blog categories: None

from ai-writer.

KlotzJesse avatar KlotzJesse commented on June 14, 2024

Quick fixes:
Error occurred while writing to the file: [Errno 2] No such file or directory:
Fix for the missing folder, just create it for now, until the script is automatically generating the folder:
in your cloned project, inside the workspace folder, create a web_research_reports folder.

For the openai error 'code': 'context_length_exceeded:

For now, just choose a model with a larger context range:
https://platform.openai.com/docs/models/continuous-model-upgrades

e.g. gpt-4-0125-preview

found in following methods:
https://github.com/search?q=repo%3AAJaySi%2FAI-Blog-Writer+gpt-3.5&type=code

@A-jmesh

For long-term fixes, we should make a pull request so that the script is automatically creating the folders and make the model configurable in the config. As the config is atm not integrated as i've seen, it should both be tackled when this will be done.

from ai-writer.

AJaySi avatar AJaySi commented on June 14, 2024

@KlotzJesse Thanks a lot.
As per your last comments, I am making config_main changes and will ask for your review.
Regards.

from ai-writer.

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.