Skip to content

Commit

Permalink
Merge pull request #26284 from jan-janssen/ragas
Browse files Browse the repository at this point in the history
Add ragas
  • Loading branch information
ocefpaf authored May 8, 2024
2 parents 16604d4 + 314cda8 commit a19c9e8
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions recipes/ragas/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "ragas" %}
{% set version = "0.1.7" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/ragas-{{ version }}.tar.gz
sha256: db857262dda63fc01a7eef837cbba166202084b5d535b2e8ad408c63a66f9319

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.8
- setuptools >=45
- setuptools-scm >=6.2
- pip
run:
- python >=3.8
- numpy
- datasets
- tiktoken
- langchain
- langchain-core
- langchain-community
- langchain-openai
- openai >1
- pysbd >=0.3.4
- nest-asyncio
- appdirs

test:
imports:
- ragas
commands:
- pip check
requires:
- pip

about:
home: https://github.com/explodinggradients/ragas/
summary: Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- jan-janssen

0 comments on commit a19c9e8

Please sign in to comment.