#text-davinci-edit-001 just copying input

13 messages · Page 1 of 1 (latest)

rain elm
#
    print("Started summerization")
    response = await db.session.post("https://api.openai.com/v1/edits", json={
        "model": "text-davinci-edit-001",
        "input": text,
        "instruction": "Summerize this to about 200 words and add newlines",
        "temperature": 1,
        "user": "netninja"
    }, headers={
        "Authorization": "Bearer " + environ["OPEN_API_KEY"]
    })
    data = await response.json()
    print(data)

This will just mirror the input completely. Ive tried with .5 temperature too, with the same result. Do note that input is over 4k tokens so this might be a issue?

barren sigil
#

Change the model to text-davinci-003

#

And the url to completions

rain elm
barren sigil
#

@rain elm separate it into chunks

rain elm
#

wont really work for a summary?

barren sigil
#

Combine the summaries together after

#

You could even just include the first summary in the following chunk

rain elm
#

Sure, ill try that

rain elm
barren sigil
#

Can you provide a sample of your chunk? There's clearly something wrong. Using summarization works.

rain elm
#

I had a VERY low chunk size to begin with so that might be the issue (250 words), so gonna bump that and switch to text-davinci-003 aswell

rain elm
#

alright after some tweaking stuff is fine