Questions tagged [gpt-3]

Use this tag with Generative Pre-trained Transformer 3 (GPT-3). Do not use with GPT-2 or the ad tagging library (GPT).

References:

GPT-3 (Wikipedia)

Related tags:

296 questions
0
votes
1 answer

OpenAI GPT API pre-tokenizing?

I am trying to make a "personal assistant" chatbot (using GPT AI API) that can answer questions about myself when others ask it things. In order to do so, I have to give it a lot of information about myself, which I am currently doing in the…
Max R
  • 13
  • 3
0
votes
1 answer

How to Use Edit images in OpenAi Kotlin Client

I am using openAi client with android kotlin (implementation com.aallam.openai:openai-client:2.1.3). Is the path wrong or is the library missing? val imgURL = Uri.parse("android.resource://" + packageName + "/" + R.drawable.face3) try { val…
0
votes
0 answers

App framework for linking HuggingFace transformers to, using a mobile device (Android)

I'm looking to create an app , using a mobile device (Android), that will accept my HuggingFace api to form a simple ChatBot. The question is simply: what would be the MOST EFFICIENT METHOD to create the base application? In the past, i have used…
0
votes
0 answers

OpenAI Prompt in Python

I just want to be sure if I write the prompt correctly. In a text which includes a journal's title, abstract and keyword information, I want to extract only the names of the ML/AI methods used/proposed for the problem. You can see the code snippet…
0
votes
0 answers

How to make the bot multithreaded?

I am writing a telegram bot based on OpenAI. There is a problem with multithreading. When one user asks the bot, another person can get the same information. For example: First user: Do you know Konstantin Polukhin? Bot: Yes, and begins to describe…
Deoken
  • 33
  • 2
0
votes
2 answers

OpenAI GPT-3 API error: "Cannot specify both model and engine"

So I'm working on some python code that works with chatgpt3. What it does is it sends a request with a prompt and then gets the reply, but I keep getting Errors. The error is Traceback (most recent call last): File "main.py", line 16, in
Dashtiss
  • 23
  • 1
  • 3
0
votes
0 answers

Python string column iteration

I am working on openAI, and stuck I have tried to sort this issue on my own but didn't get any resolution. I want my code to run the sentence generation operation on every row of the Input_Description_OAI column and give me the output in another…
Sanjeet Kumar
  • 25
  • 1
  • 3
0
votes
1 answer

Open AI's GPT Davinci - Asking it questions, but it's returning gibberish?

I ask it "What is COVID-19?", by using the following code: string key = "XXXX"; OpenAIAPI api = new OpenAIAPI(key,Engine.Davinci); var results = api.Completions.CreateCompletionsAsync(new CompletionRequest("What is COVID-19?", temperature: 0.1,…
MattHodson
  • 736
  • 7
  • 22
0
votes
1 answer

Python + Open AI/GPT3 question: Why is part of my prompt spilling into the responses I receive?

This happens to probably 10% of responses I get. For whatever reason, the last bits of my prompt somehow spill into it, at the start of it. Like there will be a period, or a question mark, or sometimes a few of the last letters from the prompt, that…
0
votes
1 answer

extend dialogflow webhook deadline time for gpt api call

I am trying to use a script I found on the internet to extend the maximum time for a webhook request through Google Dialogflow (max 5 seconds to timeout). I need to extend the time because I make an API call to openai and it sometimes takes longer…
0
votes
0 answers

openai gpt-3 is asking random question in return of user query when using apis

I am using Open AI api with these parameters resp = OpenAIBot.__openai_instance__.Completion.create(model="text-davinci-003", prompt=prompt, temperature=0.9, max_tokens=250, …
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189
0
votes
1 answer

OpenAI GPT-3 API error: "AttributeError: module 'openai' has no attribute 'GPT'"

I have the latest version of OpenAi, but some of the attributes are missing. I have tried to reinstall it, didn't solve it. GPT and Chat are the ones i've discovered not working yet. Bare in mind, i'm new to python and have basic knowledge of the…
0
votes
0 answers

Multiple Requests until it's complete?

My first GPT-3 project is to pull some basic JSON from a body of text. Using NodeJS. In the Playground: The completion works great. I have to keep pressing the "Submit button" though, to get it to finish. Take at least 5 times. I guess this is…
GN.
  • 8,672
  • 10
  • 61
  • 126
0
votes
2 answers

OpenAISwift package works for ios not for Mac

I have been following instructions to build a simple SwiftUI GPT-3 client using the OpenAISwift client library. The app works as expected on iOS but when I try to run a macos version I am getting these errors: 2023-01-02 15:07:14.845094-0500…
user1974376
  • 141
  • 1
  • 8
0
votes
0 answers

GPT-3 codex doc sample for explanations doesn't provide explanation

In the docs is this example: SELECT DISTINCT department.name FROM department JOIN employee ON department.id = employee.department_id JOIN salary_payments ON employee.id = salary_payments.employee_id WHERE salary_payments.date BETWEEN '2020-06-01'…
Guerrilla
  • 13,375
  • 31
  • 109
  • 210