-
# History Aware Retriever (idea):
```python
# Create a history-aware retriever
history_aware_retriever = create_history_aware_retriever(
retriever, combine_docs_chain
)
# Create a RAG ch…
-
when run
```bash
python pipeline/run_labeling.py \
--model_path \
--server_type tensorrt_llm \
--output_dir ./synthetic-solutions/gsm8k-masked/ \
--num_gpus 8 \
--num_runs 128 \
+…
-
**Describe the bug**
`generate_with_llamaindex_docs` appears to have a regression in v0.1.1 and does not run to completion. The issue does not appear on v0.1.0
Ragas version: 0.1.1
Python versi…
-
Took a crack at what I think this thing should do (with ChatGPT of course).
## Ideal Scope and Capabilities
### 1. Task Understanding
- **Natural Language Processing (NLP)**: The AI must exc…
-
举例:知识库的总结之后的内容太过于官方化。我要让知识库帮我从一份直播脚本中提炼内容。5、6000字的内容,仅仅100字就提取完了。这个问题怎么解决呢?
-
### Issue you'd like to raise.
When utilizing the create_sql_agent module by LangChain to interact with a SQL database and generate SQL queries from natural language, I've encountered an issue with…
-
Hi, it's great work for AD's development with LLM.
When I got `test.json` by running `exract_data.py`, I found it was not like the GVQA structure mentioned in paper. and the training doesn't contain…
-
The issue
Although very capable, diffusion models currently struggle with object position and precise artistic control over an image. As an example, there are currently very few ways to tell the mo…
-
The approximation of context token length with tiktoken seems to be a bit off.
```
openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 4097 tok…
-
When i get JSON as a response it seem to be formatted with newlines and spaces. If i want to include the response message in follow-up request it will take up extra token space. Maybe better to have t…