Git Product home page Git Product logo

babyagichatgpt's Issues

Trying to run on local machine I think I have it running, but localhost:5001 not working

Hi everyone also @Doriandarko
I'm Trying to run on local machine, I think I have it running but localhost:5001 not working.
Am I missing something?
I believe this code below is meant to be in python, or do I have to save it as a python .py file... If so what do I name it?
I have tried this with python 3.10 Microsoft version and 3.11 global both within VS code

I would be grateful for any help, thanks

PS D:\BabyAGI\BabyAGIChatGPT-main plugin with search\BabyAGIChatGPT-main> h search\BabyAGIChatGPT-main'; & 'C:\Users\Darryl\AppData\Local\Microsoft\WindowsApps\python3.10.exe' 'c:\Users\Darryl.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '61609' '--' '-m' 'uvicorn' 'main:app' '--reload'

help
import requests

base_url = "http://localhost:5001" # Replace with the Repl URL if running on Replit

Set the objective

objective = "Solve world hunger."
response = requests.post(f"{base_url}/set_objective", json={"objective": objective})
print(response.json())

Add a task

task_name = "Develop a task list."
response = requests.post(f"{base_url}/add_task", json={"task_name": task_name})
print(response.json())

Execute the next task

response = requests.post(f"{base_url}/execute_next_task")
print(response.json())

update localhost

salve, ma local host replit da inserire sarebbe il link della barra di ricerca ? o lo trovo nelle impostazioni? per quanto riguarda l'ultima parte della spiegazione riguardante il codice, dove devo usarlo questo file sul mio pc in locale ?

Why text-davinci-003?

Hi,

first, thx for sharing this neat plugin.

I noticed that the text-davinci-003 model is currently being used for the agents in this project. However, I am curious about the decision behind this choice, especially since the gpt-3.5-turbo model is more cost-effective and allows for defining the AI's role separately.

Based on your experience, is the davinci model more effective in completing tasks? I would be interested in hearing your thoughts on this topic.

Thank you,
Sebastian

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.