(question: BaseTicket = Depends())
| 150 | |
| 151 | @app.get("/generate-ticket") |
| 152 | async def generate_ticket_api(question: BaseTicket = Depends()): |
| 153 | new_title, new_question = generate_ticket( |
| 154 | neo4j_graph=neo4j_graph, |
| 155 | llm_chain=llm_chain, |
| 156 | input_question=question.text, |
| 157 | ) |
| 158 | return {"result": {"title": new_title, "text": new_question}, "model": llm_name} |
nothing calls this directly
no test coverage detected