gpt-4 Questions
2
I see there are ways of doing various image generation here: https://platform.openai.com/docs/api-reference/images
But I'm just trying to sent chat gpt a png file, ask "what is this?" or ...
Rickettsia asked 30/9, 2023 at 4:58
3
I'm working with Azure OpenAI On Your Data, trying to understand:
why system message seems to not work as expected
strategy for providing instructions in “on your data” case
For example, ca...
Tannic asked 24/10, 2023 at 13:35
2
Solved
I am using the SQL Database Agent to query a postgres database. I want to use gpt 4 or gpt 3.5 models in the OpenAI llm passed to the agent, but it says I must use ChatOpenAI. Using ChatOpenAI thro...
Pasadis asked 7/6, 2023 at 9:40
13
I'm trying to build a discord bot that uses the GPT-4 API to function as a chatbot on discord. I have the most recent version of the OpenAI library but when I run my code it tells me "An error...
Letdown asked 28/3, 2023 at 0:33
4
Solved
OpenAI's text models have a context length, e.g.: Curie has a context length of 2049 tokens.
They provide max_tokens and stop parameters to control the length of the generated sequence. Therefore t...
Equilibrium asked 21/3, 2023 at 17:35
2
My business handles a variety of entities (job, invoice, quote, resource, vehicle, contact, person, message, alert, etc.).
My goal is to use OpenAI function calling to allow my users to ask "a...
Counterpoise asked 14/9, 2023 at 8:5
5
Update: It seems like they made a mistake in the API docs, and fixed it now.
Earlier, it said "when calling gpt-4-vision-preview or gpt-3.5-turbo," but now reads "when calling gpt-4-...
Anagram asked 6/11, 2023 at 23:46
2
I'm new to OpenAI API. I work with GPT-3.5-Turbo, using this code:
messages = [
{"role": "system", "content": "You’re a helpful assistant"}
]
while True:...
Sweepstakes asked 30/8, 2023 at 10:35
1
How do you upload an image to chat gpt using the API? Can you give an example of code that can do that?
I've tried looking at the documentation, but they don't have a good way to upload a jpg as co...
Sandoval asked 13/10, 2023 at 3:27
2
I have the following code that implements LangChain + ChatGPT to answer questions from given data:
import { PineconeStore } from 'langchain/vectorstores/pinecone';
import { ConversationalRetrievalQ...
Brantley asked 6/7, 2023 at 1:11
4
Solved
I'm able to use the gpt-3.5-turbo-0301 model to access the ChatGPT API, but not any of the gpt-4 models. Here is the code I am using to test this (it excludes my openai API key). The code runs as w...
Apotropaic asked 18/3, 2023 at 3:59
1
I have an Azure open AI Account and GPT4 model deployed. Can I use its API for image-to-text description? If yes, how I will give it the image? I am using this code. But it throws me an error.
impo...
Bottali asked 8/5, 2023 at 10:32
1
Note: The question was originally asking about the difference between the gpt-4 and gpt-4-0314. As of June 15, 2023, there are new snapshot models available (e.g., gpt-4-0613) so the question and i...
Disarm asked 22/3, 2023 at 9:57
1
© 2022 - 2024 — McMap. All rights reserved.