SiddarthaRachakonda commited on
Commit
57b5b5a
1 Parent(s): ef2369d

relative import

Browse files
Files changed (2) hide show
  1. app/chains.py +1 -1
  2. app/prompts.py +1 -1
app/chains.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  from langchain_huggingface import HuggingFaceEndpoint
3
  from langchain_core.runnables import RunnablePassthrough
4
- import schemas
5
  from prompts import (
6
  raw_prompt,
7
  raw_prompt_formatted,
 
1
  import os
2
  from langchain_huggingface import HuggingFaceEndpoint
3
  from langchain_core.runnables import RunnablePassthrough
4
+ import app.schemas as schemas
5
  from prompts import (
6
  raw_prompt,
7
  raw_prompt_formatted,
app/prompts.py CHANGED
@@ -1,6 +1,6 @@
1
  from langchain_core.prompts import PromptTemplate
2
  from typing import List
3
- import models
4
 
5
 
6
  def format_prompt(prompt) -> PromptTemplate:
 
1
  from langchain_core.prompts import PromptTemplate
2
  from typing import List
3
+ import app.models as models
4
 
5
 
6
  def format_prompt(prompt) -> PromptTemplate: