All Questions
Tagged with large-language-model chatgpt-api
33
questions
-1
votes
0
answers
5
views
Is ChatGPT and LLM killing stackoverflow [migrated]
Last few months I have been using ChatGPT LLM for coding, debugging, troubleshooting.
Earlier I used to google / post my question on stackoverflow.
But now I have instant solution to most of my coding ...
0
votes
0
answers
41
views
Streaming chat response in flatlist
I'm building a mobile app with an integrated chat that uses OpenAI API or llama3 as model. i managed to get the streaming working properly. However I have a small problem when display the message ...
1
vote
1
answer
634
views
How to Include Chat History When Using Google Gemini's API
I'm trying to feed chat history to the Google Gemini API using a cURL request. I want to provide both the user's previous input and the model's previous response in the request. Here's the cURL ...
0
votes
1
answer
133
views
Conversational Product search using LLM
What we want is when the user asks for something, searches for the product in our database with millions of data, shows results then asks the user to give more details and then shows more relevant ...
1
vote
0
answers
118
views
Counting Tokens with Message History in OpenAI: Correct Approach?
Issues Identified on the Internet:
Websites like https://tiktokenizer.vercel.app/ are useful for counting tokens, but they seem to have limitations when memory is involved in the API, especially when ...
0
votes
0
answers
62
views
Can we use LLMs to generate data lineage diagram
I have a usecase where I have a python script which automats a task. This scripts performs some transformations on some variables. I want to generate a data lineage diagram showing the transformations ...
0
votes
1
answer
662
views
ChatGPT API, how to define a system role only once, so that later conversations are always based on this role
Like in the code, I have another list of similar questions.
Each time I need to pass a description to system to specify its role context.
But this is very costly, is there any way I can define the ...
0
votes
0
answers
46
views
Keys Support in JSON file of Openai Function Calling
recently I found how powerful is the function calling in ChatGPT. But I don't see any specific official documents for the json file.
An example json file like:
functions = [
{
"name&...
-1
votes
1
answer
123
views
How to address ChatGPT's LLM limitation of providing only topmost records for tabular data queries in PDF documents within my RAG application?
I am trying to develop a rag application using LangChain and ChatGPT's language model (LLM) where users can query PDF documents for information. However, I'm encountering an issue when users query ...
0
votes
0
answers
201
views
Use ConversationalRetrievalChain without history/memory , only from one document
I am trying a simple question answer scoring model .Each question has a document for answer . Issue comes when then answer is unrelated to current question but in the answer there are some text which ...
0
votes
1
answer
71
views
How to resolve the error that occurs in the process of integrating the OpenAI model made directly on the Flutter app? (Error: invalid_request_error)
I am a student who is interested in Flutter and gpt API and developing my Flutter app named 'Fit Buddy'.
I want to create a function that connects my own gpt model to the Flutter app via API to send ...
0
votes
0
answers
55
views
How to Optimize Retrieve-and-Generate Model for Context-Relevant Responses in a GPT-3.5 Chatbot?
I am developing an internal enterprise chatbot based on GPT-3.5. The current implementation utilizes a Retrieve-and-Generate (RAG) approach learned in a class, where the user's prompt is used for ...
0
votes
1
answer
312
views
ImportError when trying to list available Language Models (LLMs) and Chat Models using langchain
I'm currently working on a project that involves Language Models (LLMs) and Chat Models, and I'm using the langchain library in Python to list available models. However, I'm encountering an ...
0
votes
0
answers
64
views
Return few SQL versions / candidates using SQLDatabaseChain langchain
Im using langchain library SQLDatabaseChain.from_llm to convert text to SQL, Im using the return_sql=True parameter to return the SQL query itself.
Is there a way to ask the model to return more than ...
0
votes
0
answers
131
views
How to build My ChatGPT-like Model using My Knowldge base and some Foundation Model?
Let's consider Openai's GPTs platform.
They let you "build" your own chatGPT like model with your knowledge base and your system prompt.
How did they do it so well?
Using their API or Palm's ...