15 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
56
views
Duplicate reponse from ADK when calling streaming reponse
I’m using Google ADK with a Sequential Workflow orchestrator.
I have two agents:
sql_agent – generates SQL query
execute_sql_agent – executes SQL query
I’m streaming responses into a custom Chainlit ...
1
vote
0
answers
63
views
Feedback saved to ChromaDB not displaying on Chainlit UI after chat resumes
I'm building a Chainlit app where users can submit feedback during a chat session. I'm successfully saving this feedback to ChromaDB using an upsert_feedback function. However, when the chat session ...
0
votes
1
answer
268
views
Chainlit <> Mermaid Rendering Issue
I am creating a Chainlit app, and instructing the model to provide some Mermaid diagrams as well.
I am instructing the model to give the diagrams in this way in the system prompt,
system_prompt = &...
0
votes
0
answers
115
views
User ID from Azure Web App authentication
I am working on a webapp which has these:
FastAPI - Backend
Chainlit - Frontend
The chainlit frontend is mounted on the FastAPI backend. He is how it looks in the code:
@app.get("/")
async ...
3
votes
1
answer
434
views
AzureStorageClient raises the error Unable to determine account name for shared key credential
AzureStorageClient raises the error:
Unable to determine account name for shared key credential
This is the line of code that I am trying to use to connect to my azure account, I am trying to ...
-1
votes
1
answer
295
views
Issue on memory ram with langchain RetrievalQA
Hi im doing a RAG system with multiple vector databases using chainlit, langchain and FAISS. Few days ago i saw that RAG was using a lot of memory ram like 10gb, so i want to fix it, but i don't know ...
0
votes
0
answers
589
views
How to fix mixed content error when embedding a FastAPI app as iframe
I'm deploying a web application using NiceGUI (fastAPI) on Google Cloud Run. The main application is served over HTTPS, but I’m embedding a sub-application (Chainlit) as an iframe within the main app. ...
3
votes
0
answers
661
views
Timeout parameter in subprocess does not work in chainlit app
I have a script to build a Chainlit UI for my GraphRAG app running in windows. The GraphRAG query runs fine in the terminal, although it takes about 120 seconds (screenshot attached). However, when I ...
2
votes
1
answer
2k
views
How can I directly fetch feedback provided in the Chainlit UI to my app?
I'm currently developing an app using Chainlit and have enabled feedback options with the Literal API key. While I can view all threads, steps, and feedback on the Literal AI dashboard, I need to ...
2
votes
0
answers
789
views
mounting multiple routes on a FastAPI app results in 404 not found error
I am building a Chainlit application with a custom react front-end. I am using the latest version of Chainlit which allows mounting chainlit as an app on its own. I am then mounting my custom react ...
0
votes
1
answer
343
views
Launch multiple server apps in localhost with different port numbers within the same container in Cloud Run
I'm creating a webapp with 2 main services: Flask and Chainlit.
When I launch my webapp locally on localhost:8080, on my landing page, when I click on the "chat" button, it redirects me to ...
0
votes
1
answer
817
views
Chainlit: How to know when selection in settings changes
I am using latest version of Chainlit. The Python code below correctly prints which option chosen initially by default. It also displays all available options in given list when clicked on setting. ...
0
votes
0
answers
1k
views
How to use async generator for streaming response chainlit
I have this simple Chainlit app:
import chainlit as cl
from langchain.prompts import PromptTemplate
from langchain_core.output_parsers import StrOutputParser
from langchain_core.runnables import ...
2
votes
1
answer
2k
views
How to get the input_variables correctly from Chainlit prompt?
Recently, I tried to use Llama 2 model in my PC. I followed the video by "AI Anytime". While, when I provided the input_variables from the Chainlit prompt, I got the error. I searched for ...
2
votes
0
answers
4k
views
Command "chainlit run" doesn't start my python application
In the folder App, I have a file "app.py" with the below code (from https://docs.chainlit.io/get-started/pure-python):
import chainlit as cl
from chainlit import user_session
@cl.on_message
...